Skip to content

Commit f78f49d

Browse files
committed
deploy: Fix unset variable issue
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 00ac744 commit f78f49d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/prepare-deploy-travis.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
set -u -e
44

5+
# Not every build sets EXE_EXT since it is empty for non .exe builds
6+
# So this sets it explicitly to the empty string if it's unset.
7+
EXE_EXT=${EXE_EXT:=}
8+
59
if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ "$TRAVIS_BRANCH" = "auto" ]; then
610
exit 0
711
fi

0 commit comments

Comments
 (0)