aboutsummaryrefslogtreecommitdiff
path: root/util/buildbot/buildwin32.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/buildbot/buildwin32.sh')
-rwxr-xr-xutil/buildbot/buildwin32.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh
index 8711cae42..e900a53d3 100755
--- a/util/buildbot/buildwin32.sh
+++ b/util/buildbot/buildwin32.sh
@@ -71,7 +71,7 @@ cd $libdir
# Get minetest
cd $builddir
-if [ -d $EXISTING_MINETEST_DIR ]; then
+if [ ! "x$EXISTING_MINETEST_DIR" = "x" ]; then
ln -s $EXISTING_MINETEST_DIR minetest
else
[ -d minetest ] && (cd minetest && git pull) || (git clone https://github.com/minetest/minetest)