Browse Source

eliminte the grep

Bill Gianopoulos 4 years ago
parent
commit
64978ca9aa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      scripts/xul2xhtml.sh

+ 4 - 1
scripts/xul2xhtml.sh

@@ -13,7 +13,10 @@ then
   then
     for i in `cat /tmp/git-xul$$/seamonkey-central-patches/comm-central/patches/series`
     do
-       grep 1611647 /tmp/git-xul$$/seamonkey-central-patches/comm-central/patches/$i && break
+      if [ "${i:0:12}" = "TOP-1611647-" ]
+      then
+        break
+      fi
        hg import /tmp/git-xul$$/seamonkey-central-patches/comm-central/patches/$i
     done
   fi