diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-03-29 18:53:09 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-03-29 18:53:09 +0000 |
commit | c5c389047f0895675c11746b7b8316826f99e4b8 (patch) | |
tree | cc677be44e9d17ab88e1b9a3565970e528da17b6 /scripts/mk-images | |
parent | c311ba73990340f9036267d41b72c85c77624186 (diff) | |
download | anaconda-c5c389047f0895675c11746b7b8316826f99e4b8.tar.gz anaconda-c5c389047f0895675c11746b7b8316826f99e4b8.tar.xz anaconda-c5c389047f0895675c11746b7b8316826f99e4b8.zip |
2005-03-29 Jeremy Katz <katzj@redhat.com>
* 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.
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-x | scripts/mk-images | 8 |
1 files changed, 7 insertions, 1 deletions
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() { |