[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible: use properly named tmpfile

Holger Levsen holger at moszumanska.debian.org
Tue Sep 22 18:43:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c7d1d8ba578112be38689d10643df9d7b2c8f8fd
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Sep 22 20:43:26 2015 +0200

    reproducible: use properly named tmpfile
---
 bin/schroot-create.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 40833fb..c533d2e 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -39,7 +39,7 @@ shift
 SUITE="$1"
 shift
 
-TMPLOG=$(mktemp)
+TMPLOG=$(mktemp --tmpdir=$TMPDIR schroot-create-XXXXXXXX)
 
 declare -a EXTRA_SOURCES
 if [ "$SUITE" = "experimental" ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list