Ticket #456: Add missing quotes to guacctl script.
This commit is contained in:
parent
9a8363e0ba
commit
ddec2ad12f
@ -99,7 +99,7 @@ download_files() {
|
|||||||
|
|
||||||
for FILENAME in "$@"; do
|
for FILENAME in "$@"; do
|
||||||
if [ -e "$FILENAME" ]; then
|
if [ -e "$FILENAME" ]; then
|
||||||
send_download_file `fullpath $FILENAME`
|
send_download_file "`fullpath "$FILENAME"`"
|
||||||
else
|
else
|
||||||
error "$FILENAME: File does not exist."
|
error "$FILENAME: File does not exist."
|
||||||
fi
|
fi
|
||||||
@ -123,7 +123,7 @@ set_directory() {
|
|||||||
|
|
||||||
FILENAME="$1"
|
FILENAME="$1"
|
||||||
if [ -d "$FILENAME" ]; then
|
if [ -d "$FILENAME" ]; then
|
||||||
send_set_directory `fullpath "$FILENAME"`
|
send_set_directory "`fullpath "$FILENAME"`"
|
||||||
else
|
else
|
||||||
error "$FILENAME: File does not exist or is not a directory."
|
error "$FILENAME: File does not exist or is not a directory."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user