diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-05-25 02:34:52 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-05-25 02:34:52 -0400 |
commit | 9c7796a6c4f3964c9255b3741fe92ed4ddd9a41d (patch) | |
tree | 003eb44efe24b9df679023f7e46de10847822790 /rhesus | |
parent | 6b83b50141e37e2926333dc1aa987bfb50317b5b (diff) |
fix bashism, and correct bad error message
Diffstat (limited to 'rhesus')
-rwxr-xr-x | rhesus/rhesus | 5 |
1 files 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 |