commit | c77d32b41c9baf060b9b4c58c0b4f2e7fd6fd347 | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Thu Feb 09 01:34:16 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Feb 09 01:34:16 2017 +0000 |
tree | 10ffb1235f087618c77d250bb49addf7b2eb8e3a | |
parent | 679e35b8420b896aab3af341b0157c26e3a33b24 [diff] | |
parent | 544393f924fd5a7fe71b15ebcf0b987583130728 [diff] |
hikey: factory-images: Fix logic error am: c33285120c am: b24bb36094 am: 544393f924 Change-Id: I2cde1de4cf3977a49fb86498e37289fb12979201
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`