aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-04 19:49:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-04 19:49:27 +0200
commite14c00af8edf8d4b90b46fda9bf733630ef85199 (patch)
treea3b3d7002d832357d038934c6743b50c62e83fb2 /src
parentAllow passwords having spaces to go unbroken to the clipboard. (diff)
downloadpassword-store-e14c00af8edf8d4b90b46fda9bf733630ef85199.tar.xz
password-store-e14c00af8edf8d4b90b46fda9bf733630ef85199.zip
Properly quote the path too.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 5b2f6d0..28bd9d6 100755
--- 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
;;