Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sqlite.sh')
-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