summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 9df686ab..fd4b21bb 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -11,9 +11,6 @@ common_init "$@"
# common code defining db access
. /srv/jenkins/bin/reproducible_common.sh
-# create dirs for results
-mkdir -p /var/lib/jenkins/userContent/dbd/ /var/lib/jenkins/userContent/buildinfo/ /var/lib/jenkins/userContent/rbuild/
-
# support different suites
if [ -z "$1" ] ; then
SUITE="sid"
@@ -21,6 +18,11 @@ else
SUITE="$1"
fi
+# create dirs for results
+mkdir -p /var/lib/jenkins/userContent/dbd/
+mkdir -p /var/lib/jenkins/userContent/rbuild/
+mkdir -p /var/lib/jenkins/userContent/buildinfo/
+
cleanup_all() {
rm -r $TMPDIR $TMPCFG
}