mklni: Use $0 as user:group source
This commit is contained in:
parent
6dd8be5eb3
commit
a5c5c39798
2
mklni
2
mklni
|
@ -339,7 +339,7 @@ build()
|
||||||
|
|
||||||
source <( grep name "$lni" )
|
source <( grep name "$lni" )
|
||||||
mv "$CHROOTDIR/makelni/out/${name}.lni" "./${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
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue