From 8ae069334c5d377906e0582b711964e93b1e1152 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 6 Jul 2019 22:59:31 +0200 Subject: [PATCH] Fix error creating source directory for freetype. --- mod_php_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_php_install.sh b/mod_php_install.sh index eddf65c..5382cb9 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -842,7 +842,7 @@ if ([[ "$PHP_MAJOR_VERSION" -eq 7 ]] && [[ "$PHP_MINOR_VERSION" -lt 4 ]]) \ echo "" echo -e "\033[32m--\033[m" echo "" - echo -e "We need to install a version of freety, which supports" + echo -e "We need to install a version of freetype, which supports" echo -e "service 'freetype-config'. The development library libfreetype6" echo -e "of this distribution doesn't." echo -e "" @@ -1145,7 +1145,7 @@ if $_install_freetype && [[ ! -d /usr/local/freetype-$FREETYPE_VERSION ]]; then echononl "\tCreate source directory '$_src_dir_freetype'.." if [[ ! -d "$_src_dir_freetype" ]]; then - mkdir "$freetype_archive" >> ${_logdir}/main.log 2>&1 + mkdir "$_src_dir_freetype" >> ${_logdir}/main.log 2>&1 if [[ $? -eq 0 ]]; then echo_ok else