commit afd8b07a17621a6306de2e0490a9bf04d8df3b40
parent d1bb3026c1a67c51ff42c7b009b2feb184683fbf
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Thu, 2 Feb 2023 18:39:17 +0100
fix
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/make.sh b/make.sh
@@ -7,7 +7,11 @@ set -e
rm -Rf ./oldversion
mkdir ./oldversion
-cp ${OUTFILES[@]} ./oldversion
+# avoid error on first run
+if [ -f main.bib ]
+then
+ cp ${OUTFILES[@]} ./oldversion
+fi
./maketex.py en
./maketex.py en bib all > main.bib