From 311c98c9140205f32be2720db9261c67da658c4c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 10 May 2014 19:37:56 +0200 Subject: edit: Quote editor so tests work in spaced directories. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-59-g8ed1b