aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-11 19:57:43 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-11 19:57:43 +0000
commit9664ae0d79e9b7018387fae41ef7da586c84bc75 (patch)
treea515517803a5598ba79b65146936987561316648 /modules/buildsystem/templates
parent5f5ef8831c80251cbd865106358473f9adc77cb4 (diff)
downloadpuppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar
puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar.gz
puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar.bz2
puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar.xz
puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.zip
oops, use mktemp to create tmp file
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/sign-check-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/sign-check-package b/modules/buildsystem/templates/sign-check-package
index ab91cafa..6d16aa87 100644
--- a/modules/buildsystem/templates/sign-check-package
+++ b/modules/buildsystem/templates/sign-check-package
@@ -4,7 +4,7 @@ file="$1"
key="$2"
keydir="$3"
-tmpfile=`/tmp/tmp.fMzaAHPDgM`
+tmpfile=`mktemp`
cp -pf "$file" "$tmpfile"
rpm --delsign "$tmpfile"
/usr/bin/mga-signpackage "$tmpfile" "$key" "$keydir"