diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-18 17:54:09 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-18 17:54:09 -0200 |
commit | 12bbacc4e46b434bfd77e6f3ecaa871403741dbc (patch) | |
tree | 0b4614d25378d1ea22de0e6dba94722f60f44845 | |
parent | 54be3287db66b68d273c8ec4c2ae9585dacb2e70 (diff) | |
download | keyringer-12bbacc4e46b434bfd77e6f3ecaa871403741dbc.tar.gz keyringer-12bbacc4e46b434bfd77e6f3ecaa871403741dbc.tar.bz2 |
Variable quoting
-rw-r--r-- | lib/keyringer/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions index ec680de..0e61779 100644 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -262,9 +262,9 @@ function keyringer_action_usage { # Check recipients function keyringer_check_recipients { # Check recipients header for updates. - if grep -qe ' XXXXXXXX$' $RECIPIENTS; then + if grep -qe ' XXXXXXXX$' "$RECIPIENTS"; then echo "Updating recipients file..." - sed -i -e 's/ XXXXXXXX$/ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/' $RECIPIENTS + sed -i -e 's/ XXXXXXXX$/ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/' "$RECIPIENTS" fi if [ "$1" == "edit" ]; then |