From 10da80703d0f6e8104539acf471e1a41c4771b3a Mon Sep 17 00:00:00 2001 From: Christian Oder Date: Tue, 28 Jul 2015 22:45:49 +0200 Subject: [PATCH] Fix flashing of zips inside directories with spaces in their names It seems like the " in Line 6 are not enough, unzip still refused to unpack files inside a directory with a space in it's name. The new " fix that and now allow us to flash zips inside folders with spaces in their names. --- META-INF/com/google/android/update-binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 178736d..ebeaab7 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -29,7 +29,7 @@ show_progress 1.34 4; ui_print " "; mkdir -p /tmp/anykernel; cd /tmp/anykernel; -unzip -o $ZIP; +unzip -o "$ZIP"; ui_print "$(file_getprop /tmp/anykernel/anykernel.sh kernel.string)"; ui_print " ";