diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-13 00:50:40 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-13 00:57:28 +1300 |
commit | 4ef2780aeee06c1f727aa36d0610c3562507e996 (patch) | |
tree | c9712b66af5b409f294166d07e7b7eff4c07f502 /bin/dmp | |
parent | Simplify/correct dmp(1) copying (diff) | |
download | dotfiles-4ef2780aeee06c1f727aa36d0610c3562507e996.tar.gz dotfiles-4ef2780aeee06c1f727aa36d0610c3562507e996.zip |
Quote var in param expansion
Diffstat (limited to 'bin/dmp')
-rwxr-xr-x | bin/dmp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ #!/bin/sh # Get the password store directory, bail if we can't -pwsd=${PASSWORD_STORE_DIR:-$HOME/.password-store} +pwsd=${PASSWORD_STORE_DIR:-"$HOME"/.password-store} pwsd=${pwsd%/} [ -n "$pwsd" ] || exit |