From 12bbacc4e46b434bfd77e6f3ecaa871403741dbc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 18 Nov 2010 17:54:09 -0200 Subject: Variable quoting --- lib/keyringer/functions | 4 ++-- 1 file 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 -- cgit v1.2.3