aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/run_report_local.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation/run_report_local.sh')
-rwxr-xr-xresources/tools/presentation/run_report_local.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/presentation/run_report_local.sh b/resources/tools/presentation/run_report_local.sh
index b48d4d2db5..df0e89e5e5 100755
--- a/resources/tools/presentation/run_report_local.sh
+++ b/resources/tools/presentation/run_report_local.sh
@@ -83,8 +83,10 @@ fi
if [[ ${cfg_install_latex} -eq 1 ]] ;
then
sudo apt-get -y install xvfb texlive-latex-recommended \
- texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra latexmk wkhtmltopdf inkscape
- sudo sed -i.bak 's/^\(main_memory\s=\s\).*/\110000000/' /usr/share/texlive/texmf-dist/web2c/texmf.cnf
+ texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra \
+ latexmk wkhtmltopdf inkscape
+ target="/usr/share/texlive/texmf-dist/web2c/texmf.cnf"
+ sudo sed -i.bak 's/^\(main_memory\s=\s\).*/\110000000/' "${target}"
fi
# Create working directories