mklni: Use $0 as user:group source
This commit is contained in:
parent
6839150a68
commit
ef45c9a769
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