summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-02-27 22:39:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-02-27 22:39:32 -0300
commitb26b353d9acc6fed4688beccfb5a1055f2dbdc2e (patch)
tree8b347beddd0b13f2a37d0894f8333d3e2f237581
parent7c064f5202c9ae9915ae92f684831f2059d3e3a9 (diff)
downloadkeyringer-b26b353d9acc6fed4688beccfb5a1055f2dbdc2e.tar.gz
keyringer-b26b353d9acc6fed4688beccfb5a1055f2dbdc2e.tar.bz2
EDITOR variable cannot be escaped as the editor might have arguments
-rwxr-xr-xshare/keyringer/recipients2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/keyringer/recipients b/share/keyringer/recipients
index ab61bd7..0460842 100755
--- a/share/keyringer/recipients
+++ b/share/keyringer/recipients
@@ -32,7 +32,7 @@ if [ "$COMMAND" == "ls" ]; then
elif [ "$COMMAND" == "edit" ]; then
if [ ! -z "$3" ]; then
keyringer_create_new_recipients $RECIPIENTS_FILE
- "$EDITOR" "$RECIPIENTS_FILE"
+ $EDITOR "$RECIPIENTS_FILE"
keyringer_check_recipients
keyringer_exec git "$BASEDIR" add "$RECIPIENTS_FILE_BASE"
else