]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Do not enclose $EDITOR with quotes as it might break constructions such as "vim -X"
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 5 Sep 2012 23:00:58 +0000 (20:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 5 Sep 2012 23:00:58 +0000 (20:00 -0300)
share/keyringer/edit

index 10798e2292c3f846cbc0e41c2590f6c85676aeb7..0604d7ea337532a6c77bb230cbfd1a09e28a4a55 100755 (executable)
@@ -25,7 +25,7 @@ $GPG --yes -o "$TMPWORK" --use-agent -d "$KEYDIR/$FILE"
 # Prompt
 echo "Press any key to open the decrypted data in $EDITOR, Ctrl-C to abort"
 read key
-"$EDITOR" "$TMPWORK"
+$EDITOR "$TMPWORK"
 
 # Encrypt again
 $GPG --yes -o "$KEYDIR/$FILE" --use-agent --armor -e -s $(keyringer_recipients "$RECIPIENTS_FILE") "$TMPWORK"