From 49427d1fb4f7cb9cfb76e430343510fba5f09e6a Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 18 Jul 2011 14:28:04 +1000 Subject: 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 Signed-off-by: Dan McGee --- scripts/repo-add.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3-24-g4f1b