Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ionen-angewandte-physik
AG-Wester
bibtools
Commits
e3a1a4cb
Commit
e3a1a4cb
authored
Apr 04, 2022
by
User expired
Browse files
newbib: Do not override existing backup files
parent
5f9aaa3c
Pipeline
#69992
failed with stage
in 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bin/newbib
bin/newbib
+1
-1
bin/newbibpdf
bin/newbibpdf
+1
-1
No files found.
bin/newbib
View file @
e3a1a4cb
...
...
@@ -79,7 +79,7 @@ do
# Create a backup copy with suffix '.bak'.
if
[
$BACKUP
-eq
1
]
then
cp
-a
"
${
bibfile
}
"
"
${
bibfile
}
.bak"
cp
-a
n
"
${
bibfile
}
"
"
${
bibfile
}
.bak"
fi
# Apply basic formatting for dry run.
...
...
bin/newbibpdf
View file @
e3a1a4cb
...
...
@@ -187,7 +187,7 @@ fi >/dev/stderr
# Create a backup copy with suffix '.bak'.
if
[
$BACKUP
-eq
1
]
then
cp
-a
"
${
BIBFILE
}
"
"
${
BIBFILE
}
.bak"
cp
-a
n
"
${
BIBFILE
}
"
"
${
BIBFILE
}
.bak"
fi
# Apply basic formatting for dry run.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment