From cb4b0b8ce12baa3ec035f91e4bd5ad4c0cfa1886 Mon Sep 17 00:00:00 2001 From: jbj Date: Sun, 29 Dec 2002 22:31:00 +0000 Subject: - fix :armor query extension, tgpg mktmp handling (#80684). - use rpmfiClass underneath --fileclass. CVS patchset: 5985 CVS date: 2002/12/29 22:31:00 --- scripts/tgpg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/tgpg') 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 -- cgit v1.2.3