diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-02-11 19:57:43 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-02-11 19:57:43 +0000 |
commit | 9664ae0d79e9b7018387fae41ef7da586c84bc75 (patch) | |
tree | a515517803a5598ba79b65146936987561316648 | |
parent | 5f5ef8831c80251cbd865106358473f9adc77cb4 (diff) | |
download | puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar.gz puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar.bz2 puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.tar.xz puppet-9664ae0d79e9b7018387fae41ef7da586c84bc75.zip |
oops, use mktemp to create tmp file
-rw-r--r-- | modules/buildsystem/templates/sign-check-package | 2 |
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" |