From 9ee045a21c661dc38696b8425419cbbc32d8e85c Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 29 Jan 2016 16:37:37 -0600 Subject: Add compare xml script and move/update relink-binaries.sh Add script to compare string values between 2 language xml files which will make it easier to identify strings that are missing between the 2 files. Move relink-binaries.sh to scripts folder and update it to handle relinking 64 bit binaries. Change-Id: Ia7a8bdbeea02256b3b864ab77e15912795275d33 --- prebuilt/relink-binaries.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 prebuilt/relink-binaries.sh (limited to 'prebuilt') diff --git a/prebuilt/relink-binaries.sh b/prebuilt/relink-binaries.sh deleted file mode 100755 index 37528531a..000000000 --- a/prebuilt/relink-binaries.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -process_file() -{ - src=$1 - dst=$1-1 #/$(basename $2) - cp -f -p $src $dst - - sed "s|/system/bin/linker\x0|/sbin/linker\x0\x0\x0\x0\x0\x0\x0|g" $dst | sed "s|/system/bin/sh\x0|/sbin/sh\x0\x0\x0\x0\x0\x0\x0|g" > $dst-mod - #sed "s|/sbin/linker\x0|/system/bin/linker\x0\x0\x0\x0\x0\x0\x0|g" $dst | sed "s|/sbin/sh\x0|/system/bin/sh\x0\x0\x0\x0\x0\x0\x0|g" > $dst-mod - rm $dst -} - - -dest=$1 -for ARG in $* -do - process_file $dest $ARG -done \ No newline at end of file -- cgit v1.2.3