summaryrefslogtreecommitdiff
path: root/META-INF/com/google
diff options
context:
space:
mode:
authorZackptg5 <zackptg5@comcast.net>2018-03-20 21:18:51 -0400
committerChris Renshaw <osm0sis@outlook.com>2018-03-20 22:18:51 -0300
commit722da17775f6e0c629ddaf61ef7e1877d7ef63b1 (patch)
tree36998d18012415065e90f0fbd84a6a779a8ea96a /META-INF/com/google
parent3baf2a564ad54b6497a0a210a0aefc3c79eecf8d (diff)
Backend: Add mkdir for modules (#23)
Diffstat (limited to 'META-INF/com/google')
-rwxr-xr-xMETA-INF/com/google/android/update-binary1
1 files changed, 1 insertions, 0 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary
index b7ce787..4ace209 100755
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -122,6 +122,7 @@ if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.modules)" == 1 ]; then
*) mod=system;;
esac;
fi;
+ $bb mkdir -p /$(dirname $module);
$bb cp -rLf $module /$module;
$bb chown 0:0 /$module;
$bb chmod 644 /$module;