Fixed issue with values with spaces

function was treating the value as multiple arguments. Quoted the string and it's working fine.
This commit is contained in:
Joshua Sherman 2014-02-02 17:45:14 -05:00
parent df0ec68860
commit 718c7a9f76

View file

@ -38,7 +38,7 @@ cat $css_file | \
property=`echo $line | awk -F':' '{print $1}'` property=`echo $line | awk -F':' '{print $1}'`
property=`strip $property` property=`strip $property`
value=`echo $line | awk -F':' '{print $2}'` value=`echo $line | awk -F':' '{print $2}'`
value=`strip $value` value=`strip "$value"`
line="$property: $value;" line="$property: $value;"