Commit e3a1a4cb authored by User expired's avatar User expired
Browse files

newbib: Do not override existing backup files

parent 5f9aaa3c
Pipeline #69992 failed with stage
in 47 seconds
......@@ -79,7 +79,7 @@ do
# Create a backup copy with suffix '.bak'.
if [ $BACKUP -eq 1 ]
then
cp -a "${bibfile}" "${bibfile}.bak"
cp -an "${bibfile}" "${bibfile}.bak"
fi
# Apply basic formatting for dry run.
......
......@@ -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 -an "${BIBFILE}" "${BIBFILE}.bak"
fi
# Apply basic formatting for dry run.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment