]> gitweb.fluxo.info Git - keyringer.git/commitdiff
EDITOR variable cannot be escaped as the editor might have arguments
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Feb 2012 01:39:32 +0000 (22:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Feb 2012 01:39:32 +0000 (22:39 -0300)
share/keyringer/recipients

index ab61bd7ac97544fd250ded331718644b0ad07a13..0460842f4de7ca6effc65bc7638fa051d121a9fa 100755 (executable)
@@ -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