aboutsummaryrefslogtreecommitdiffstats
path: root/bib-add
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2026-06-06 12:26:27 -0400
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2026-06-06 12:26:27 -0400
commitb56c273d8198ae6cee69bbc9fe5a6a61da4074e4 (patch)
treef75b89299fe2783354ba0ab7e3ace088fa60245a /bib-add
parent4aec9800fca665713b0eba19f10af927b483332e (diff)
downloadbibutils-b56c273d8198ae6cee69bbc9fe5a6a61da4074e4.tar.gz
Code cleanup
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