diff options
author | Bill Yi <byi@google.com> | 2016-07-08 01:24:18 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-07-08 01:24:18 +0000 |
commit | 865c2e49c9a6186c604d076f412e4811a7320e5b (patch) | |
tree | 06672b7c1965c23be9a7523884953699f656c6fb | |
parent | e97c89f23faa56655bd83d248619360f31eff5d7 (diff) | |
parent | bd6ca0fb9168f7ec16f293b8b75f94aea906510c (diff) | |
download | device_common-865c2e49c9a6186c604d076f412e4811a7320e5b.tar.gz device_common-865c2e49c9a6186c604d076f412e4811a7320e5b.tar.bz2 device_common-865c2e49c9a6186c604d076f412e4811a7320e5b.zip |
Add marlin|sailfish to the google_devices list am: eada591154
am: bd6ca0fb91
Change-Id: I102ebe737fded2d04d9006adae59cc9caeba6084
-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 849394a..e5cf151 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'` |