diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-04-20 09:09:49 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-04-20 09:09:49 +0000 |
commit | 71134e45ed81cf30b1215fda5957b16787995d0a (patch) | |
tree | adbe9f8b55a93ace3e21a06106e4a580fb0c794f | |
parent | f621253a4ede7b92e5dd44373d6bfea00e4fbf55 (diff) | |
download | puppet-71134e45ed81cf30b1215fda5957b16787995d0a.tar puppet-71134e45ed81cf30b1215fda5957b16787995d0a.tar.gz puppet-71134e45ed81cf30b1215fda5957b16787995d0a.tar.bz2 puppet-71134e45ed81cf30b1215fda5957b16787995d0a.tar.xz puppet-71134e45ed81cf30b1215fda5957b16787995d0a.zip |
create temporary directory in $TMPDIR
-rw-r--r-- | modules/buildsystem/templates/signbot/sign-check-package | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/signbot/sign-check-package b/modules/buildsystem/templates/signbot/sign-check-package index cf9135e8..fc9704fd 100644 --- a/modules/buildsystem/templates/signbot/sign-check-package +++ b/modules/buildsystem/templates/signbot/sign-check-package @@ -10,7 +10,7 @@ file="$1" key="$2" keydir="$3" -tmpdir=`mktemp -d signbot-XXXXX` +tmpdir=`mktemp -d ${TMPDIR:-/tmp}/signbot-XXXXX` tmpfile="$tmpdir/$(basename $file)" cp -pf "$file" "$tmpfile" rpm --delsign "$tmpfile" |