summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-27 13:03:32 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-27 13:03:32 +0100
commit3b33cb0e30215b31aaad48fd8d653a25e21f9c23 (patch)
tree96bc2f65caacb13ffe14d7ef4e45b3fa4109a387
parenteac0ce9df4e4dbb0fd4e2ba181016d5aaa28ec4e (diff)
downloadjenkins.debian.net-3b33cb0e30215b31aaad48fd8d653a25e21f9c23.tar.xz
reproducible: support different suites
-rwxr-xr-xbin/reproducible_build.sh8
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