diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-27 13:03:32 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-27 13:03:32 +0100 |
commit | 3b33cb0e30215b31aaad48fd8d653a25e21f9c23 (patch) | |
tree | 96bc2f65caacb13ffe14d7ef4e45b3fa4109a387 | |
parent | eac0ce9df4e4dbb0fd4e2ba181016d5aaa28ec4e (diff) | |
download | jenkins.debian.net-3b33cb0e30215b31aaad48fd8d653a25e21f9c23.tar.xz |
reproducible: support different suites
-rwxr-xr-x | bin/reproducible_build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 551b6e53..9df686ab 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -14,8 +14,12 @@ common_init "$@" # create dirs for results mkdir -p /var/lib/jenkins/userContent/dbd/ /var/lib/jenkins/userContent/buildinfo/ /var/lib/jenkins/userContent/rbuild/ -# for now we have actual support only for sid -SUITE="sid" +# support different suites +if [ -z "$1" ] ; then + SUITE="sid" +else + SUITE="$1" +fi cleanup_all() { rm -r $TMPDIR $TMPCFG |