diff options
author | Bill Yi <byi@google.com> | 2014-11-10 09:04:57 -0800 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2014-11-10 09:04:57 -0800 |
commit | 771b791a68eb8bbbdae5d0dc0fed98c9ff168d20 (patch) | |
tree | 49851c95905725b594b456033c452f1bf6a0ac86 | |
parent | bb7159dffb727a6fe0cc282b0f4667d0d0899943 (diff) | |
download | device_common-lollipop-mr1-cts-release.tar.gz device_common-lollipop-mr1-cts-release.tar.bz2 device_common-lollipop-mr1-cts-release.zip |
Use wildcards for atmel filesandroid-wear-5.1.1_r1android-wear-5.1.0_r1android-m-preview-2android-m-preview-1android-m-previewandroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1master-soonglollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-release
BUG:18056831
Change-Id: Ib04ea745a707b7368f6779c9bb26f0589d39584a
-rwxr-xr-x | generate-packages.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/generate-packages.sh b/generate-packages.sh index 981147c..f86693b 100755 --- a/generate-packages.sh +++ b/generate-packages.sh @@ -97,6 +97,18 @@ do then chmod a+x $FILEDIR_NEW/$(basename $ONE_FILE) || echo \ \ \ \ Error chmoding $ONE_FILE fi + + ONE_FILE_BASE=$(basename $ONE_FILE) + if [[ $ONE_FILE_BASE == *atmel-a432-*-shamu-p1.tdat ]] + then + ATMEL_FILE=$(ls $FILEDIR_NEW/$ONE_FILE_BASE | cut -f6 -d'/') + sed -i "s/$ONE_FILE_BASE/$ATMEL_FILE/" moto/staging/device-partial.mk + elif [[ $ONE_FILE_BASE == *atmel-a432-*-shamu.tdat ]] + then + ATMEL_FILE=$(ls $FILEDIR_NEW/$ONE_FILE_BASE | cut -f6 -d'/') + sed -i "s/$ONE_FILE_BASE/$ATMEL_FILE/" moto/staging/device-partial.mk + fi + done echo \ \ Setting up $COMPANY-specific makefiles cp -R $COMPANY/staging/* tmp/vendor/$COMPANY/$DEVICE || echo \ \ \ \ Error copying makefiles |