commit e14c00af8edf8d4b90b46fda9bf733630ef85199 parent 4eabdd63867dea7831ab72c1e200f5d911dcb13d Author: Jason A. Donenfeld <Jason@zx2c4.com> Date: Tue, 4 Sep 2012 19:49:27 +0200 Properly quote the path too. Diffstat:
M | src/password-store.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/password-store.sh b/src/password-store.sh @@ -130,7 +130,7 @@ case "$command" in if [ $clip -eq 0 ]; then exec gpg -q -d "$passfile" else - clip "$(gpg -q -d "$passfile")" $path + clip "$(gpg -q -d "$passfile")" "$path" fi fi ;;