diff options
author | jbj <devnull@localhost> | 2002-12-29 22:31:00 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-12-29 22:31:00 +0000 |
commit | cb4b0b8ce12baa3ec035f91e4bd5ad4c0cfa1886 (patch) | |
tree | 4ebb3cdd1d277d4d72b093dfd5663e32c710332b /scripts | |
parent | c67befa2833503c8864ec906a07ad8b4b617947c (diff) | |
download | rpm-cb4b0b8ce12baa3ec035f91e4bd5ad4c0cfa1886.tar.gz |
- fix :armor query extension, tgpg mktmp handling (#80684).
- use rpmfiClass underneath --fileclass.
CVS patchset: 5985
CVS date: 2002/12/29 22:31:00
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tgpg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/tgpg b/scripts/tgpg index 4ab738265..21c1ffac0 100755 --- a/scripts/tgpg +++ b/scripts/tgpg @@ -1,5 +1,6 @@ #!/bin/sh + for pkg in $* do if [ "$pkg" = "" -o ! -e "$pkg" ]; then @@ -7,8 +8,8 @@ do exit 1 fi - plaintext=`mktemp $0-$$.XXXXXX` - detached=`mktemp $0-$$.XXXXXX` + plaintext=`mktemp /tmp/tgpg-$$.XXXXXX` + detached=`mktemp /tmp/tgpg-$$.XXXXXX` # --- Extract detached signature rpm -qp -vv --qf '%{siggpg:armor}' $pkg > $detached |