fix condition

This commit is contained in:
jalr 2018-02-13 00:12:52 +01:00
parent 565d261c90
commit f48372f782

View file

@ -22,7 +22,7 @@ prepare:
script:
- mkdir -p bin
- |
[ ! -e bin/packer ] && wget -c https://releases.hashicorp.com/packer/${PACKER_VERSION}/${ZIPFILE} && unzip "$ZIPFILE" -d bin && rm -f "$ZIPFILE"
if [ ! -e bin/packer ]; then wget -c https://releases.hashicorp.com/packer/${PACKER_VERSION}/${ZIPFILE} && unzip "$ZIPFILE" -d bin && rm -f "$ZIPFILE"; fi
only:
- /ci/