summaryrefslogtreecommitdiffstats
path: root/prebuilt/relink.sh
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-12-03 23:48:36 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-09 04:32:34 +0100
commit1902c79d11855eea0a8809b468f1a40053fa6262 (patch)
tree7842a8ab225162029730f147dfb6ec267980a3be /prebuilt/relink.sh
parentadd function to partition.cpp to return max file size to mtp responder (diff)
downloadandroid_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.gz
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.bz2
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.lz
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.xz
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.tar.zst
android_bootable_recovery-1902c79d11855eea0a8809b468f1a40053fa6262.zip
Diffstat (limited to '')
-rwxr-xr-xprebuilt/relink.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prebuilt/relink.sh b/prebuilt/relink.sh
index 4e9445aeb..48be3fcb9 100755
--- a/prebuilt/relink.sh
+++ b/prebuilt/relink.sh
@@ -11,7 +11,7 @@ process_file()
cp -f -p $src $dst
fi
- sed "s|/system/bin/linker\x0|/sbin/linker\x0\x0\x0\x0\x0\x0\x0|g" $src | sed "s|/system/bin/sh\x0|/sbin/sh\x0\x0\x0\x0\x0\x0\x0|g" > $dst
+ sed "s|/system/bin/linker64\x0|/sbin/linker64\x0\x0\x0\x0\x0\x0\x0|g" $src | sed "s|/system/bin/linker\x0|/sbin/linker\x0\x0\x0\x0\x0\x0\x0|g" | sed "s|/system/bin/sh\x0|/sbin/sh\x0\x0\x0\x0\x0\x0\x0|g" > $dst
if [ $1 == $(dirname $2) ]; then
rm -f $src