]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix windows snapshot building
authorPhillip Lord <phillip.lord@russet.org.uk>
Thu, 3 May 2018 20:40:34 +0000 (21:40 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Thu, 3 May 2018 21:14:13 +0000 (22:14 +0100)
* admin/nt/dist-build/build-zips.sh: Fix broken if statement

admin/nt/dist-build/build-zips.sh

index d954683c8f5c5988d4a2e3b8a5ce439768d4cea9..7ffa8624765d20a641209fea8e55d47f5c75c2f8 100755 (executable)
@@ -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