summaryrefslogtreecommitdiff
path: root/META-INF
diff options
context:
space:
mode:
authorwloot <wlootlxt123@gmail.com>2019-06-25 16:04:21 +0800
committerosm0sis <osm0sis@outlook.com>2019-06-26 17:16:06 -0300
commita7af28e25b0008bbf17ce38f667d2270c260eedf (patch)
tree6bdd4d787a1bb591d40c0c051a2a3e6abd9853e2 /META-INF
parent46614b2f84786dbc5925b1f9cb91d4e6c7177f57 (diff)
Backend: fix getting parent directory on some devices
/tmp/updater: line 33: cd: /tmp/anykernel/..: No such file or directory Closes #41
Diffstat (limited to 'META-INF')
-rwxr-xr-xMETA-INF/com/google/android/update-binary2
1 files changed, 1 insertions, 1 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary
index 05cf222..7ad8d9b 100755
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -30,7 +30,7 @@ int2ver() {
fi;
}
cleanup() {
- cd $home/..;
+ cd $(dirname $home);
rm -rf $home;
}
debugging() {