You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
|
|
# Run this file to package the .sql file into a .c file whenever the SQL changes. |
|
|
|
rm -f schema.sql.c |
|
echo '#define ZT_NETCONF_SCHEMA_SQL \' >schema.sql.c |
|
cat schema.sql | sed 's/"/\\"/g' | sed 's/^/"/' | sed 's/$/\\n"\\/' >>schema.sql.c |
|
echo '""' >>schema.sql.c
|
|
|