aboutsummaryrefslogtreecommitdiffstats
path: root/gpg-sign-all
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-10-19 21:11:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-10-19 21:11:32 -0700
commit4c5ba3bb155b232f37069bcb0f19291c4a1ba626 (patch)
treedc4995800efa036d2a3cd8dd26c8f1a4a645db2a /gpg-sign-all
parentc5b273508b93319f0eaf56d0aba9c9592ab4ef28 (diff)
downloadkup-4c5ba3bb155b232f37069bcb0f19291c4a1ba626.tar.gz
kup-4c5ba3bb155b232f37069bcb0f19291c4a1ba626.tar.xz
kup-4c5ba3bb155b232f37069bcb0f19291c4a1ba626.zip
gpg-sign-all: correct the non-compressed case
The non-compressed case needs to be adjusted to match the others... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'gpg-sign-all')
-rwxr-xr-xgpg-sign-all3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpg-sign-all b/gpg-sign-all
index 6dce03f..62dda54 100755
--- a/gpg-sign-all
+++ b/gpg-sign-all
@@ -21,7 +21,8 @@ for f; do
--set-filename "$(basename "$fbare")" -
;;
*)
- gpg --use-agent -a -b -o "$f".sign "$(basename "$f")"
+ gpg --use-agent -a -b -o "$f".sign \
+ --set-filename "$(basename "$f")" "$f"
;;
esac
done