From b0ff199e187dd177258b29463f6cef36e7c2db08 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 18 Sep 2012 00:26:02 +0200 Subject: Quote the program name. --- src/password-store.sh | 8 ++++---- 1 file 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 -- cgit v1.2.3