diff options
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-x | extract-files.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh new file mode 100755 index 0000000..11ca22d --- /dev/null +++ b/extract-files.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +VENDOR=samsung +DEVICE=aries-common + +BASE=../../../vendor/$VENDOR/$DEVICE/proprietary + +echo "Pulling common files..." +for FILE in `cat proprietary-files.txt | grep -v ^# | grep -v ^$`; do + DIR=`dirname $FILE` + if [ ! -d $BASE/$DIR ]; then + mkdir -p $BASE/$DIR + fi + adb pull /system/$FILE $BASE/$FILE +done + +./setup-makefiles.sh |