aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/keyringer/functions4
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