From 11d5e76a7f89abe6da0b7c2b948f97f5c1cdc508 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 20 Nov 2018 19:31:12 +0000 Subject: Configure script passes if TeX Live was not finalized When there is a problem in creating the final TeX Live installation, the previous version of the pipeline would not understand and just finish! We would later have problems in building the paper. So the following series of steps were taken: to keep the recipes in a shorter and easier to understand way, the steps to install TeX Live are now one rule (that produce `.local/bin/texlive-ready-tlmgr' when its successful), and the steps to install the necessary packages are in another rule (that produce `.local/bin/texlive-ready' when its successful). When control comes back inside configure, if `.local/bin/texlive-ready' isn't there (something failed during the TeX Live installation, or building packages), then the whole TeX Live installation directory (`.local/texlive') will be deleted along with the two output files. This will help ensure that future steps can check the availablility of a working TeX Live in the pipeline. --- configure | 86 +++++++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 65 insertions(+), 21 deletions(-) (limited to 'configure') diff --git a/configure b/configure index fc3aa44..413dcd8 100755 --- a/configure +++ b/configure @@ -182,7 +182,6 @@ if [ $rewritepconfig = yes ]; then else cat <