aboutsummaryrefslogtreecommitdiffstats
path: root/bib-add
diff options
context:
space:
mode:
Diffstat (limited to 'bib-add')
-rwxr-xr-xbib-add2
1 files changed, 1 insertions, 1 deletions
diff --git a/bib-add b/bib-add
index 28ebf82..02a079e 100755
--- a/bib-add
+++ b/bib-add
@@ -44,7 +44,7 @@ awk -f "$LIB/bib-parse.awk" -f "$LIB/bib-lskeys.awk" "$tmp" > "$tmpkeys"
if [ -f "$db" ]; then
dups=$(awk -f "$LIB/bib-parse.awk" -f "$LIB/bib-lskeys.awk" "$db" \
- | grep -Fxf "$tmpkeys") || dups=
+ | grep -Fxf "$tmpkeys")
if [ -n "$dups" ]; then
if [ "$force" -eq 1 ]; then
# rewrite the database without the entries being replaced