summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2016-07-08 01:20:40 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-08 01:20:40 +0000
commitbd6ca0fb9168f7ec16f293b8b75f94aea906510c (patch)
treeb355f5a7baeb8233418ff4a062eee8484097cc33
parent762617a12642c9de3e3ce66b26f6c8b122c06e0f (diff)
parenteada591154c47bfe5ba73342368a05b7f94ff0a8 (diff)
downloaddevice_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-xgenerate-packages.sh10
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'`