From 9c7796a6c4f3964c9255b3741fe92ed4ddd9a41d Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sun, 25 May 2008 02:34:52 -0400 Subject: [PATCH] fix bashism, and correct bad error message --- rhesus/rhesus | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rhesus/rhesus b/rhesus/rhesus index 2e05dfd..4bef85e 100755 --- a/rhesus/rhesus +++ b/rhesus/rhesus @@ -44,7 +44,8 @@ cutline() { # FIXME: need to figure out how to retrieve all matching keys # (not just first 5) gpg_fetch_keys() { - local id="$1" + local id + id="$1" echo 1,2,3,4,5 | \ gpg --quiet --batch --command-fd 0 --with-colons \ --keyserver "$KEYSERVER" \ @@ -274,7 +275,7 @@ fi # check auth ids file if [ ! -s "$authIDsFile" ] ; then - echo $(basename "$authIDsFile") "file is empty or does not exist." + echo "'$authIDsFile' file is empty or does not exist." exit fi -- 2.25.1