summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xres/usr/bin/privacy_manager_create_clean_db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/usr/bin/privacy_manager_create_clean_db.sh b/res/usr/bin/privacy_manager_create_clean_db.sh
index 5f47112..c457a14 100755
--- a/res/usr/bin/privacy_manager_create_clean_db.sh
+++ b/res/usr/bin/privacy_manager_create_clean_db.sh
@@ -20,7 +20,7 @@ do
rm -f ${TZ_SYS_DB}/.$name.db-journal
SQL="PRAGMA journal_mode = PERSIST;"
sqlite3 ${TZ_SYS_DB}/.$name.db "$SQL"
- SQL=".read /usr/bin/"$name"_db.sql"
+ SQL=".read ${TZ_SYS_BIN}/"$name"_db.sql"
sqlite3 ${TZ_SYS_DB}/.$name.db "$SQL"
touch ${TZ_SYS_DB}/.$name.db-journal
chown root:root ${TZ_SYS_DB}/.$name.db