summaryrefslogtreecommitdiffstats
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-18 06:28:04 +0200
committerDan McGee <dan@archlinux.org>2011-07-18 17:35:57 +0200
commit49427d1fb4f7cb9cfb76e430343510fba5f09e6a (patch)
tree02decedc0693e892c1b7639c76ccb831e45ba6c9 /scripts/repo-add.sh.in
parentbf120635a7fdbb2caeb73fa0774bf718f2a127ae (diff)
downloadpacman-49427d1fb4f7cb9cfb76e430343510fba5f09e6a.tar.gz
pacman-49427d1fb4f7cb9cfb76e430343510fba5f09e6a.tar.xz
repo-add: do not print full path of signature file
The full path to the signature file when it is created is in a temporary directory so only print the filename. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/repo-add.sh.in')
-rw-r--r--scripts/repo-add.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 3fc3abc5..c598ad9b 100644
--- a/scripts/repo-add.sh.in
+++ b/scripts/repo-add.sh.in
@@ -195,7 +195,7 @@ create_signature() {
gpg --detach-sign --use-agent ${SIGNWITHKEY} "$dbfile" &>/dev/null || ret=$?
if (( ! ret )); then
- msg2 "$(gettext "Created signature file %s.")" "$dbfile.sig"
+ msg2 "$(gettext "Created signature file %s.")" "${dbfile##*/}.sig"
else
warning "$(gettext "Failed to sign package database.")"
fi