From: Jameson Graef Rollins Date: Sun, 25 May 2008 06:34:52 +0000 (-0400) Subject: fix bashism, and correct bad error message X-Git-Tag: monkeysphere_0.1-1~17^2~12 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9c7796a6c4f3964c9255b3741fe92ed4ddd9a41d;p=monkeysphere.git fix bashism, and correct bad error message --- 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