diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-02-26 23:57:31 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-27 17:12:59 +0100 |
commit | d0216cc17479fd2f0593766c6edaf1f95753370c (patch) | |
tree | 661b02f50c08ebb42bb10a0c38c3903bcb04dc78 /bin | |
parent | 5024e46c7c79c0774c7b9b1788a5205f1bf83104 (diff) | |
download | jenkins.debian.net-d0216cc17479fd2f0593766c6edaf1f95753370c.tar.xz |
reproducible: build: wrap a long line + define SUITE early
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 8 |
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 } |