diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-05-10 19:37:56 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-05-10 19:37:56 +0200 |
commit | 311c98c9140205f32be2720db9261c67da658c4c (patch) | |
tree | 62f1c11a5119e34851e37e6ddc8a8daeabe6cf72 | |
parent | 1d6ed690232de70c522226315b8b5a0e5c1706c1 (diff) |
edit: Quote editor so tests work in spaced directories.
-rwxr-xr-x | src/password-store.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 7ef58bd..140b1bc 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -425,7 +425,7 @@ cmd_edit() { $GPG -d -o "$tmp_file" "${GPG_OPTS[@]}" "$passfile" || exit 1 action="Edit" fi - ${EDITOR:-vi} "$tmp_file" + "${EDITOR:-vi}" "$tmp_file" while ! $GPG -e "${GPG_RECIPIENT_ARGS[@]}" -o "$passfile" "${GPG_OPTS[@]}" "$tmp_file"; do echo "GPG encryption failed. Retrying." sleep 1 |