From c5c389047f0895675c11746b7b8316826f99e4b8 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 29 Mar 2005 18:53:09 +0000 Subject: 2005-03-29 Jeremy Katz * product.py (bugUrl): Clean up .buildstamp reading, read in bug url * constants.py (bugzillaUrl): Make bug url a per-product characteristic. * scripts/buildinstall: Allow passing in bug url on the command line. * scripts/mk-images: Likewise, and use it to populate .buildstamp. --- scripts/mk-images | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/mk-images') diff --git a/scripts/mk-images b/scripts/mk-images index 66345ad23..857ae923b 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -15,11 +15,14 @@ if [ "$1" == "--debug" ]; then shift fi -if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" -o -z "$5" -o -z "$6" -o -z "$7" ]; then usage; fi +if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" -o -z "$5" -o -z "$6" -o -z "$7" -o -z "$8" ]; then usage; fi PRODUCT=$6 VERSION=$7 PRODUCTPATH=$8 +if [ -n "$9" ]; then + BUGURL=$9 +fi TOPDIR=$(echo $0 | sed "s,/[^/]*$,,") if [ $TOPDIR = $0 ]; then @@ -366,6 +369,9 @@ makeproductfile() { echo $PRODUCT >> $root/.buildstamp echo $VERSION >> $root/.buildstamp echo $PRODUCTPATH >> $root/.buildstamp + if [ -n "$BUGURL" ]; then + echo $BUGURL >> $root/.buildstamp + fi } setupShellEnvironment() { -- cgit