From a5c5c397983f8ff4603fdc23c6bed75d377760d9 Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sat, 2 Nov 2024 23:15:49 +0500 Subject: [PATCH] mklni: Use $0 as user:group source --- mklni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mklni b/mklni index 11e5693..cf3a0b4 100755 --- a/mklni +++ b/mklni @@ -339,7 +339,7 @@ build() source <( grep name "$lni" ) mv "$CHROOTDIR/makelni/out/${name}.lni" "./${name}.lni" - chown "$(stat -c '%U:%G' mklni)" "./${name}.lni" + chown "$(stat -c '%U:%G' "$0")" "./${name}.lni" exit 0 }