Browse Source

allow running script ignoring the GITLAB patch queue

Bill Gianopoulos 4 years ago
parent
commit
3a11b019de
1 changed files with 5 additions and 2 deletions
  1. 5 2
      scripts/xul2xhtml.sh

+ 5 - 2
scripts/xul2xhtml.sh

@@ -1,6 +1,9 @@
 #!/bin/bash
-ERROR=0
 GIT_REPO=https://gitlab.com/frg/seamonkey-central-patches.git
+# Uncomment the following line to ignore the GIT patch queue when
+# creating the patches.
+#GIT_REPO=
+ERROR=0
 rm -rf /tmp/comm-xul$$ /tmp/git-xul$$
 pushd /tmp
 hg clone https://hg.mozilla.org/comm-central/ /tmp/comm-xul$$ || ERROR=1 
@@ -10,7 +13,7 @@ then
   echo "failed to clone comm-central"
   exit 1
 fi
-if [ '$GIT_REPO' != '' ]
+if [ "$GIT_REPO" != "" ]
 then
   mkdir /tmp/git-xul$$
   cd /tmp/git-xul$$