diff options
-rwxr-xr-x | META-INF/com/google/android/update-binary | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index cf194dd..6946fef 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -292,11 +292,11 @@ description=$KERNEL_STRING EOF } dump_moduleremover() { -cat <<EOF > $1; +cat <<'EOF' > $1; #!/system/bin/sh -MODDIR=\${0%/*}; -if [ "\$(cat /proc/version)" != "\$(cat \$MODDIR/version)" ]; then - rm -rf \$MODDIR; +MODDIR=${0%/*}; +if [ "$(cat /proc/version)" != "$(cat $MODDIR/version)" ]; then + rm -rf $MODDIR; fi; EOF } |