Browse Source

add error messages for failures

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

+ 3 - 0
scripts/xul2xhtml.sh

@@ -7,6 +7,7 @@ hg clone https://hg.mozilla.org/comm-central/ /tmp/comm-xul$$ || ERROR=1
 if [ $ERROR -eq 1 ]
 then
   rm -rf /tmp/*$$
+  echo "failed to clone comm-central"
   exit 1
 fi
 if [ '$GIT_REPO' != '' ]
@@ -17,6 +18,7 @@ then
   if [ $ERROR -eq 1 ]
   then
     rm -rf /tmp/*$$
+    echo "failed to clone git patch queue"
     exit 1
   fi
   cd /tmp/comm-xul$$
@@ -32,6 +34,7 @@ then
       if [ $ERROR -eq 1 ]
       then
         rm -rf /tmp/*$$
+        echo "failure applying $i"
         exit 1
       fi
     done