Updated sed command to change VFS
This commit is contained in:
parent
964db221c5
commit
3960a233c4
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
|
@ -129,7 +129,7 @@ if [ $? -ne 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# change VFS type in
|
# change VFS type in
|
||||||
sed -ie 's/i = sqlite3_open(filename, &H->db);/sqlite3_vfs_register(sqlite3_vfs_find("unix-excl"), 1); i = sqlite3_open(filename, &H->db);/g' "${BUILD_DIR}/sqlite_driver.c"
|
sed -i 's/i = sqlite3_open(filename, &H->db);/sqlite3_vfs_register(sqlite3_vfs_find("unix-excl"), 1);\n&/' "${BUILD_DIR}/sqlite_driver.c"
|
||||||
|
|
||||||
# magic :)
|
# magic :)
|
||||||
for FILE in "${BUILD_DIR}"/*
|
for FILE in "${BUILD_DIR}"/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue