Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 1293651 - use the found updater binary to actually update with. r…
Browse files Browse the repository at this point in the history
…=jlund

MozReview-Commit-ID: 77yEi00o3Z9

--HG--
extra : amend_source : 6e23f697a45ad568656e31d4b410b17db4d0c396
  • Loading branch information
Callek committed Aug 9, 2016
1 parent 7cbe551 commit 544106c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions release/common/check_updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,19 @@ check_updates () {

if [ -d source/$platform_dirname ]; then
cd source/$platform_dirname;
updater_bin="updater"
for updater in $updaters; do
if [ -e "$updater" ]; then
echo "Found updater at $updater"
cp $updater ../../update
updater_bin=$(basename $updater)
break
fi
done
if [ "$use_old_updater" = "1" ]; then
../../update/updater ../../update . 0
../../update/$updater_bin ../../update . 0
else
../../update/updater ../../update . . 0
../../update/$updater_bin ../../update . . 0
fi
cd ../..
else
Expand Down

0 comments on commit 544106c

Please sign in to comment.