diff options
author | Bill Yi <byi@google.com> | 2016-07-07 16:53:51 -0700 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2016-07-07 16:53:51 -0700 |
commit | eada591154c47bfe5ba73342368a05b7f94ff0a8 (patch) | |
tree | b355f5a7baeb8233418ff4a062eee8484097cc33 | |
parent | 762617a12642c9de3e3ce66b26f6c8b122c06e0f (diff) | |
download | device_common-eada591154c47bfe5ba73342368a05b7f94ff0a8.tar.gz device_common-eada591154c47bfe5ba73342368a05b7f94ff0a8.tar.bz2 device_common-eada591154c47bfe5ba73342368a05b7f94ff0a8.zip |
Add marlin|sailfish to the google_devices list
BUG:29936685
Change-Id: Ibb23ad54be94474aea8917805cec9b6159ca297c
-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'` |