Skip to content

Commit be14171

Browse files
committed
Properly check for empty version in mxeWindowsBuild.sh
1 parent 8e8be4e commit be14171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mxeWindowsBuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ NUM_CPUS=$(cat /proc/cpuinfo | grep processor | wc -l)
3434

3535
NAME=dustrac
3636
VERSION=${DUSTRAC_RELEASE_VERSION}
37-
if [[ !${VERSION} ]]; then
37+
if [[ -z ${VERSION} ]]; then
3838
echo "DUSTRAC_RELEASE_VERSION not set."
3939
VERSION="DUSTRAC_RELEASE_VERSION_NOT_SET"
4040
fi

0 commit comments

Comments
 (0)