mklni: Use $0 as user:group source

This commit is contained in:
timoxa0 2024-11-02 23:15:49 +05:00
parent 6dd8be5eb3
commit a5c5c39798

2
mklni
View file

@ -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
}