Browse Source

tighten up /tmp files to erase

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

+ 3 - 3
scripts/xul2xhtml.sh

@@ -6,7 +6,7 @@ pushd /tmp
 hg clone https://hg.mozilla.org/comm-central/ /tmp/comm-xul$$ || ERROR=1 
 if [ $ERROR -eq 1 ]
 then
-  rm -rf /tmp/*$$
+  rm -rf /tmp/*-xul$$
   echo "failed to clone comm-central"
   exit 1
 fi
@@ -17,7 +17,7 @@ then
   git clone $GIT_REPO || ERROR=1
   if [ $ERROR -eq 1 ]
   then
-    rm -rf /tmp/*$$
+    rm -rf /tmp/*-xul$$
     echo "failed to clone git patch queue"
     exit 1
   fi
@@ -33,7 +33,7 @@ then
        hg import /tmp/git-xul$$/seamonkey-central-patches/comm-central/patches/$i || ERROR=1
       if [ $ERROR -eq 1 ]
       then
-        rm -rf /tmp/*$$
+        rm -rf /tmp/*xul$$
         echo "failure applying $i"
         exit 1
       fi