bug 1363334 - set -x around update test lines. r=rail
authorAki Sasaki <asasaki@mozilla.com>
Fri, 12 May 2017 08:16:42 -0700
changeset 7515 13b0b80d5562
parent 7514 fcf1975be8fb
child 7516 115949059e20
push id5590
push userasasaki@mozilla.com
push dateFri, 12 May 2017 15:16:50 +0000
reviewersrail
bugs1363334
bug 1363334 - set -x around update test lines. r=rail
release/common/check_updates.sh
--- a/release/common/check_updates.sh
+++ b/release/common/check_updates.sh
@@ -72,21 +72,23 @@ check_updates () {
     # we need to define updater_abspath after defining updater_bin
     if [ ".$is_windows" = "." ] ; then
       # not windows
       updater_abspath="$update_abspath/$updater_bin"
     else
       # windows
       updater_abspath="$four_backslash_pwd\\\\update\\\\$updater_bin"
     fi
+    set -x
     if [ "$use_old_updater" = "1" ]; then
         "$updater_abspath" "$update_abspath" "$cwd" 0
     else
         "$updater_abspath" "$update_abspath" "$cwd" "$cwd" 0
     fi
+    set +x
     cd ../..
   else
     echo "FAIL: no dir in source/$platform_dirname"
     return 1
   fi
 
   cat update/update.log
   update_status=`cat update/update.status`