diff options
author | Mattia Rizzolo <mattia@debian.org> | 2017-02-16 16:44:09 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-02-17 12:31:56 +0100 |
commit | db442af7449a95fded588e4b3f54ec2bd69010a6 (patch) | |
tree | 02239973bfc2ee562f989374abe4b43c45dc4cd5 /bin/reproducible_build.sh | |
parent | a95f921fd6423c47a564f5f4f9e38397f6225a16 (diff) | |
download | jenkins.debian.net-db442af7449a95fded588e4b3f54ec2bd69010a6.tar.xz |
reproducible debian: move the temporary rbuild directories into a rbuild-debian directory
this is to avoid having thousands of temporary directories mixed with few non-temporary ones in /srv/reproducible-builds
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-x | bin/reproducible_build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 1ebc786f..9cbeebe0 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -882,7 +882,8 @@ build_rebuild() { # below is what controls the world # -TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t rbuild-debian-XXXXXXXX) # where everything actually happens +mkdir -p /srv/reproducible-results/rbuild-debian +TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results/rbuild-debian -d) # where everything actually happens trap cleanup_all INT TERM EXIT cd $TMPDIR |