move sqlcipher to third-party

This commit is contained in:
ppwwyyxx
2015-06-16 22:20:39 +08:00
parent 85247692c6
commit b3ac340072
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -1,2 +1,5 @@
*.pyc
*.sql
output/
resource
*.db
+3 -3
View File
@@ -1,6 +1,6 @@
#!/bin/bash -e
# File: decrypt_db.sh
# Date: Sun Feb 01 17:30:29 2015 +0800
# Date: Tue Jun 16 22:18:40 2015 +0800
# Author: Yuxin Wu <[email protected]>
source compatibility.sh
@@ -33,9 +33,9 @@ echo "Dump decoded database... "
echo "Don't worry about libcrypt.so version warning."
SQLCIPHER=./sqlcipher/$os/$version
SQLCIPHER=./third-party/sqlcipher/$os/$version
export LD_LIBRARY_PATH=$SQLCIPHER
$SQLCIPHER/sqlcipher $MSGDB << EOF
"$SQLCIPHER"/sqlcipher "$MSGDB" << EOF
PRAGMA key='$KEY';
PRAGMA cipher_use_hmac = off;
ATTACH DATABASE "$output" AS db KEY "";