Skip to content

Commit

Permalink
Properly check for empty version in mxeWindowsBuild.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
juzzlin committed Dec 24, 2017
1 parent 8e8be4e commit be14171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mxeWindowsBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ NUM_CPUS=$(cat /proc/cpuinfo | grep processor | wc -l)

NAME=dustrac
VERSION=${DUSTRAC_RELEASE_VERSION}
if [[ !${VERSION} ]]; then
if [[ -z ${VERSION} ]]; then
echo "DUSTRAC_RELEASE_VERSION not set."
VERSION="DUSTRAC_RELEASE_VERSION_NOT_SET"
fi
Expand Down

0 comments on commit be14171

Please sign in to comment.