mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fixing tools/generator.sh: escaping '"' character.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
parent
19aea7a502
commit
b867822908
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user