mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Sqlite auto-init and version check.
This commit is contained in:
parent
49a2450e76
commit
ba69240bcb
3 changed files with 30 additions and 2 deletions
|
@ -4,5 +4,5 @@
|
|||
|
||||
rm -f netconf-schema.sql.c
|
||||
echo '#define ZT_NETCONF_SCHEMA_SQL \' >netconf-schema.sql.c
|
||||
cat netconf-schema.sql | sed 's/^/"/' | sed 's/$/\\n"\\/' >>netconf-schema.sql.c
|
||||
cat netconf-schema.sql | sed 's/"/\\"/g' | sed 's/^/"/' | sed 's/$/\\n"\\/' >>netconf-schema.sql.c
|
||||
echo '""' >>netconf-schema.sql.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue