summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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