summaryrefslogtreecommitdiffstats
path: root/src/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.py')
-rwxr-xr-xsrc/settings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.py b/src/settings.py
index af24e7b..a9dfa13 100755
--- a/src/settings.py
+++ b/src/settings.py
@@ -1,11 +1,12 @@
#
import sys
+import os
f_sqlite3 = sys.argv[1]
f_libclang = sys.argv[2]
-f1 = open('../src/settings.h','w')
+f1 = open(os.path.join(sys.argv[3],'settings.h'),'w')
f1.write("#ifndef SETTINGS_H\n")
f1.write("#define SETTINGS_H\n")
f1.write("\n")