summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-18 00:26:02 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-18 00:26:02 +0200
commitb0ff199e187dd177258b29463f6cef36e7c2db08 (patch)
tree55c8987b544dde2b65528e1e9f4bef28d3834233 /src/password-store.sh
parent7ea239e376bbdf88e2a2c9eb2f77363eafa7a612 (diff)
downloadpass-b0ff199e187dd177258b29463f6cef36e7c2db08.tar.gz
pass-b0ff199e187dd177258b29463f6cef36e7c2db08.tar.bz2
pass-b0ff199e187dd177258b29463f6cef36e7c2db08.zip
Quote the program name.
Diffstat (limited to 'src/password-store.sh')
-rwxr-xr-xsrc/password-store.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index e30adff..17b378f 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -161,7 +161,7 @@ case "$command" in
show|ls|list)
clip=0
- opts="$($GETOPT -o c -l clip -n $program -- "$@")"
+ opts="$($GETOPT -o c -l clip -n "$program" -- "$@")"
err=$?
eval set -- "$opts"
while true; do case $1 in
@@ -200,7 +200,7 @@ case "$command" in
noecho=0
force=0
- opts="$($GETOPT -o mnf -l multiline,no-echo,force -n $program -- "$@")"
+ opts="$($GETOPT -o mnf -l multiline,no-echo,force -n "$program" -- "$@")"
err=$?
eval set -- "$opts"
while true; do case $1 in
@@ -287,7 +287,7 @@ case "$command" in
clip=0
symbols="-y"
- opts="$($GETOPT -o nc -l no-symbols,clip -n $program -- "$@")"
+ opts="$($GETOPT -o nc -l no-symbols,clip -n "$program" -- "$@")"
err=$?
eval set -- "$opts"
while true; do case $1 in
@@ -325,7 +325,7 @@ case "$command" in
delete|rm|remove)
recursive=""
force="-i"
- opts="$($GETOPT -o rf -l recursive,force -n $program -- "$@")"
+ opts="$($GETOPT -o rf -l recursive,force -n "$program" -- "$@")"
err=$?
eval set -- "$opts"
while true; do case $1 in