Fixing tools/generator.sh: escaping '"' character.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan 2015-04-29 14:55:27 +03:00
parent 19aea7a502
commit b867822908

View File

@ -17,6 +17,7 @@
echo "#define JERRY_MCU_SCRIPT \\" > $2
cat $1 | while read line
do
line=$(echo $line | sed 's/"/\\"/g')
echo "\"$line\n\" \\" >> $2
done
echo >> $2