summaryrefslogtreecommitdiff
path: root/admin/nt/dist-build
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2018-05-03 21:40:34 +0100
committerPhillip Lord <phillip.lord@russet.org.uk>2018-05-03 22:14:13 +0100
commitcbb9c78de081e37cf0b2ab6f35022abf89507d9c (patch)
tree91760d1574c9ed5dacf634230a007499daab0270 /admin/nt/dist-build
parenta2003f9663e5649894b05695f7f2b11a3fa96339 (diff)
downloademacs-cbb9c78de081e37cf0b2ab6f35022abf89507d9c.tar.gz
Fix windows snapshot building
* admin/nt/dist-build/build-zips.sh: Fix broken if statement
Diffstat (limited to 'admin/nt/dist-build')
-rwxr-xr-xadmin/nt/dist-build/build-zips.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh
index d954683c8f5..7ffa8624765 100755
--- a/admin/nt/dist-build/build-zips.sh
+++ b/admin/nt/dist-build/build-zips.sh
@@ -190,8 +190,10 @@ else
fi
echo Checking for required branch
-if [ -n $REQUIRED_BRANCH ];
+if [ -z $REQUIRED_BRANCH ];
then
+ :
+else
BRANCH=$REQUIRED_BRANCH
echo [build] Building from Branch $BRANCH
VERSION=$VERSION-$BRANCH