summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-22 13:22:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-22 13:22:00 -0200
commit4a19a5a2db0e49846249bf4b7ce02a2c6e143626 (patch)
tree6cacf79589b8319dd8bfed71aff7e0e0ace30131
parent4a177cb39d0f601150e166d6e2d28789ff5d4ca9 (diff)
downloadkeyringer-4a19a5a2db0e49846249bf4b7ce02a2c6e143626.tar.gz
keyringer-4a19a5a2db0e49846249bf4b7ce02a2c6e143626.tar.bz2
Add missing '/.' test at keyringer_set_recipients
-rwxr-xr-xlib/keyringer/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 0e795ee..de7516f 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -554,7 +554,7 @@ function keyringer_set_recipients {
candidate_no_extension="`echo $1 | sed -e 's/.asc$//'`"
# Find the first matching recipient
- while [ ! -z "$candidate" ] && [ "$candidate" != "." ] && [ "$candidate" != "/" ]; do
+ while [ ! -z "$candidate" ] && [ "$candidate" != "." ] && [ "$candidate" != "/" ] && [ "$candidate" != "/." ]; do
if [ -e "$RECIPIENTS/$candidate" ]; then
RECIPIENTS_FILE="$RECIPIENTS/$candidate"
RECIPIENTS_FILE_BASE="$RECIPIENTS_BASE/$candidate"