diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 53e444e..bba2357 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -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;