From: Silvio Rhatto Date: Tue, 28 Feb 2012 01:39:32 +0000 (-0300) Subject: EDITOR variable cannot be escaped as the editor might have arguments X-Git-Tag: 0.2.1~76 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b26b353d9acc6fed4688beccfb5a1055f2dbdc2e;p=keyringer.git EDITOR variable cannot be escaped as the editor might have arguments --- 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