From 17447210485bbe379beb9c7e9a3034e900110ed9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 1 Dec 2018 23:14:05 +0100 Subject: moved to multi environment repo structure --- gpg/list-keys.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gpg/list-keys.sh') diff --git a/gpg/list-keys.sh b/gpg/list-keys.sh index 4b010495..4166fa59 100755 --- a/gpg/list-keys.sh +++ b/gpg/list-keys.sh @@ -1,2 +1,10 @@ #!/bin/bash -exec "${BASH_SOURCE%/*}/gpg2.sh" --list-keys $@ + +if [ -z "$1" ]; then + echo "Usage: $0 [ .. additional parameters passwd on to gpg2 .. ]" + exit 1 +fi +NAME="$1" +shift + +exec "${BASH_SOURCE%/*}/gpg2.sh" "$NAME" --list-keys "$@" -- cgit v1.2.3