From 3b33cb0e30215b31aaad48fd8d653a25e21f9c23 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 27 Feb 2015 13:03:32 +0100 Subject: reproducible: support different suites --- bin/reproducible_build.sh | 8 ++++++-- 1 file 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 -- cgit v1.2.3-70-g09d2