surround variables w/quotes to process data with spaces
This commit is contained in:
parent
d504043a9e
commit
9f84aaa537
|
@ -53,10 +53,10 @@ escaped="$(echo $temp | sed 's/\//\\\//g')"
|
|||
}
|
||||
|
||||
# Assign variables once they are properly escaped
|
||||
escape $1
|
||||
variable=$escaped
|
||||
escape $2
|
||||
default=$escaped
|
||||
escape "$1"
|
||||
variable="$escaped"
|
||||
escape "$2"
|
||||
default="$escaped"
|
||||
|
||||
# Set the path to ConfigData
|
||||
if [ -n "$3" ]; then
|
||||
|
|
Loading…
Reference in New Issue