aboutsummaryrefslogtreecommitdiff
path: root/regenBlackboardDB.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regenBlackboardDB.sh')
-rwxr-xr-xregenBlackboardDB.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regenBlackboardDB.sh b/regenBlackboardDB.sh
index 4231683..08c021b 100755
--- a/regenBlackboardDB.sh
+++ b/regenBlackboardDB.sh
@@ -1,10 +1,10 @@
#!/bin/bash
CSVFILE="$1"
-bbfile=Blackboard.db
-rm -f "$bbfile"
+dbfile=Blackboard.db
+rm -f "$dbfile"
printf ".mode csv\n.import \"$CSVFILE\" export_table" | \
- sqlite3 "$bbfile"
+ sqlite3 "$dbfile"