Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <jauslin@ias.edu>2018-06-29 16:39:15 +0000
committerIan Jauslin <jauslin@ias.edu>2018-06-29 16:39:15 +0000
commit4a8e51c3c9c604ba1ba5c3d798014d4265b5fdc1 (patch)
treeaacc93421448734351837c33ef8606fe75289e6d /engines
parent2bff6d06dae47c1b706bc8636fc8ed85a2c690e5 (diff)
Update to v2.1.2:v2.1.2
Fixed: 'extra' entries would override database entries if they shared the same token
Diffstat (limited to 'engines')
-rw-r--r--engines/sqlite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sqlite.sh b/engines/sqlite.sh
index c14f30c..af7afdd 100644
--- a/engines/sqlite.sh
+++ b/engines/sqlite.sh
@@ -36,7 +36,7 @@ function generate_SQL_alpha {
foundit=0
if [ ${#extra} -gt 0 ]; then
for entry in "${extra[@]}"; do
- ref="${entry#*:*:}"
+ ref="${entry#*:}"
ref="${ref%%:*}"
if [ "$ref" = "$citeref" ]; then
foundit=1