diff options
author | wloot <wlootlxt123@gmail.com> | 2019-06-25 16:04:21 +0800 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2019-06-26 17:16:06 -0300 |
commit | a7af28e25b0008bbf17ce38f667d2270c260eedf (patch) | |
tree | 6bdd4d787a1bb591d40c0c051a2a3e6abd9853e2 /META-INF | |
parent | 46614b2f84786dbc5925b1f9cb91d4e6c7177f57 (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-x | META-INF/com/google/android/update-binary | 2 |
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() { |