From c3cc4cfe5aedaa35bf10107c473da4e0bc476f50 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 8 Jul 2014 13:47:42 +0200 Subject: [PATCH] Remove hard link into privacy-manager script. Change-Id: Ie0c2776ed04b51f3afec766a609a6e86a56a62f1 Signed-off-by: Ronan Le Martret --- res/usr/bin/privacy_manager_create_clean_db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4