tools/update-packaging/test/buildrefmars.sh

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rwxr-xr-x

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 #!/bin/bash
michael@0 2 # Builds all the reference mars
michael@0 3
michael@0 4 if [ -f "ref.mar" ]; then
michael@0 5 rm "ref.mar"
michael@0 6 fi
michael@0 7 if [ -f "ref-mac.mar" ]; then
michael@0 8 rm "ref-mac.mar"
michael@0 9 fi
michael@0 10
michael@0 11 ../make_incremental_update.sh ref.mar `pwd`/from `pwd`/to
michael@0 12 ../make_incremental_update.sh ref-mac.mar `pwd`/from-mac `pwd`/to-mac
michael@0 13
michael@0 14 if [ -f "product-1.0.lang.platform.complete.mar" ]; then
michael@0 15 rm "product-1.0.lang.platform.complete.mar"
michael@0 16 fi
michael@0 17 if [ -f "product-2.0.lang.platform.complete.mar" ]; then
michael@0 18 rm "product-2.0.lang.platform.complete.mar"
michael@0 19 fi
michael@0 20 if [ -f "product-2.0.lang.mac.complete.mar" ]; then
michael@0 21 rm "product-2.0.lang.mac.complete.mar"
michael@0 22 fi
michael@0 23
michael@0 24 ./make_full_update.sh product-1.0.lang.platform.complete.mar "`pwd`/from"
michael@0 25 ./make_full_update.sh product-2.0.lang.platform.complete.mar "`pwd`/to"
michael@0 26 ./make_full_update.sh product-1.0.lang.mac.complete.mar "`pwd`/from-mac"
michael@0 27 ./make_full_update.sh product-2.0.lang.mac.complete.mar "`pwd`/to-mac"

mercurial