commit | 544393f924fd5a7fe71b15ebcf0b987583130728 | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Thu Feb 09 01:31:47 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Feb 09 01:31:47 2017 +0000 |
tree | 10ffb1235f087618c77d250bb49addf7b2eb8e3a | |
parent | 0b82189e3857698c17761f2e5162644c30dc93a5 [diff] | |
parent | b24bb36094977020d73ae68adf78c53bff981b0b [diff] |
hikey: factory-images: Fix logic error am: c33285120c am: b24bb36094 Change-Id: I0199e0577c4130c80c8249ebdb34a57345877964
diff --git a/factory-images/generate-factory-images-hikey.sh b/factory-images/generate-factory-images-hikey.sh index f5e667e..001c0f5 100755 --- a/factory-images/generate-factory-images-hikey.sh +++ b/factory-images/generate-factory-images-hikey.sh
@@ -19,7 +19,7 @@ BUILD=eng.`whoami` BUILDNAME=`ls ${ANDROID_BUILD_TOP}/${PRODUCT}-img-${BUILD}.zip 2> /dev/null` -if [ $? -eq 0 ]; then +if [ $? -ne 0 ]; then VERSION=linaro-`date +"%Y.%m.%d"` else BUILDNAME=`ls ${ANDROID_BUILD_TOP}/${PRODUCT}-img-*.zip 2> /dev/null`