surround variables w/quotes to process data with spaces

This commit is contained in:
Andrew Bauer 2016-10-31 08:46:05 -05:00
parent d504043a9e
commit 9f84aaa537
1 changed files with 4 additions and 4 deletions

View File

@ -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