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 <[email protected]>
---
 scripts/repo-add.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
index 19fe660..db8f6b0 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
-- 
1.7.6


Reply via email to