Backend: ensure we've got a POSIX accepting chown via our busybox
- per https://github.com/osm0sis/AnyKernel2/pull/10#issuecomment-283771783
This commit is contained in:
1 parent
7c0f420bff
commit
9e3135e8d9
1 file changed
+1
-1
@@ -16,7 +16,7 @@ show_progress() { echo "progress $1 $2" > $OUTFD; }
|
||||
set_perm_recursive() {
|
||||
dirs=$(echo $* | $bb awk '{ print substr($0, index($0,$5)) }');
|
||||
for i in $dirs; do
|
||||
chown -R $1:$2 $i;
|
||||
$bb chown -R $1:$2 $i;
|
||||
find "$i" -type d -exec chmod $3 {} +;
|
||||
find "$i" -type f -exec chmod $4 {} +;
|
||||
done;
|
||||
|
||||
Reference in new issue
Block a user