aboutsummaryrefslogtreecommitdiff
path: root/util/buildbot
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2015-01-06 19:43:21 +0100
committersfan5 <sfan5@live.de>2015-01-06 19:43:21 +0100
commitefdb9da6197665d9ab1f8282aca00e905ea0321b (patch)
tree438aeaad1276925853a944e22bd91c4265a7bb16 /util/buildbot
parent083d19b3fc8f60468e124c801296c13b66c41abc (diff)
downloadminetest-efdb9da6197665d9ab1f8282aca00e905ea0321b.tar.gz
minetest-efdb9da6197665d9ab1f8282aca00e905ea0321b.tar.bz2
minetest-efdb9da6197665d9ab1f8282aca00e905ea0321b.zip
Fix buildbot (was broken by 04a1a446cf845a0db80d39fd0e42771aa07e4492)
Diffstat (limited to 'util/buildbot')
-rwxr-xr-xutil/buildbot/buildwin32.sh2
-rwxr-xr-xutil/buildbot/buildwin64.sh2
2 files changed, 2 insertions, 2 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)
diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh
index 678d9e952..b951ff498 100755
--- a/util/buildbot/buildwin64.sh
+++ b/util/buildbot/buildwin64.sh
@@ -66,7 +66,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)