1
0
Fork 0

Updated sed command to change VFS

This commit is contained in:
sergeypayu 2017-03-01 13:05:26 +02:00 committed by GitHub
parent 964db221c5
commit 3960a233c4

View file

@ -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}"/*