diff options
author | Bill Yi <byi@google.com> | 2016-07-08 01:20:40 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-07-08 01:20:40 +0000 |
commit | bd6ca0fb9168f7ec16f293b8b75f94aea906510c (patch) | |
tree | b355f5a7baeb8233418ff4a062eee8484097cc33 | |
parent | 762617a12642c9de3e3ce66b26f6c8b122c06e0f (diff) | |
parent | eada591154c47bfe5ba73342368a05b7f94ff0a8 (diff) | |
download | device_common-bd6ca0fb9168f7ec16f293b8b75f94aea906510c.tar.gz device_common-bd6ca0fb9168f7ec16f293b8b75f94aea906510c.tar.bz2 device_common-bd6ca0fb9168f7ec16f293b8b75f94aea906510c.zip |
Add marlin|sailfish to the google_devices list
am: eada591154
Change-Id: Ic28da3a04e9097a4a58a4dbbe1d959e3ee9a5036
-rwxr-xr-x | generate-packages.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/generate-packages.sh b/generate-packages.sh index c48d328..6179866 100755 --- a/generate-packages.sh +++ b/generate-packages.sh @@ -41,10 +41,12 @@ do mkdir -p $FILEDIR FILEDIR_ROOT=tmp/vendor/$MANUFACTURER/$ROOTDEVICE - if test ${ROOTDEVICE} = "dragon" - then - FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE - fi + case ${ROOTDEVICE} in + dragon|marlin|sailfish) + FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE ;; + *) ;; + esac + mkdir -p ${FILEDIR_ROOT} TO_EXTRACT=`sed -n -e '/'" $COMPANY"'/,/;;/ p' $EXTRACT_LIST_FILENAME | tail -n+3 | head -n-2 | sed -e 's/\\\//g'` |