From f37b00abda75df8c3466fa930883bee4beff5eb0 Mon Sep 17 00:00:00 2001 From: apolopena <3060702+apolopena@users.noreply.github.com> Date: Fri, 4 Mar 2022 20:16:56 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20bad=20path=20for=20utils.?= =?UTF-8?q?sh=20for=20https://github.com/apolopena/gitpod-laravel-starter/?= =?UTF-8?q?issues/206?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gp/bash/scaffold-project.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.gp/bash/scaffold-project.sh b/.gp/bash/scaffold-project.sh index 4c899304..84a448fa 100644 --- a/.gp/bash/scaffold-project.sh +++ b/.gp/bash/scaffold-project.sh @@ -31,20 +31,12 @@ if [[ ! $_lv =~ ^[6-9]*(\.\*)$ ]]; then _lv="$_lv_default" fi -# debug -echo "_lv=$_lv" | tee -a $_log -echo "_php=$_php" | tee -a $_log -echo "$_php is less thaan 8.0 = $(bash .gp/bash/utils.sh comp_ver_lt "$_php" 8.0)" - # Fallback to laravel 8.* if PHP version is < 8.0 and Larvel is 9.* -[[ $_lv == '9.*' && $(bash .gp/bash/utils.sh comp_ver_lt "$_php" 8.0) == 1 ]] && \ +[[ $_lv == '9.*' && $(bash /tmp/utils.sh comp_ver_lt "$_php" 8.0) == 1 ]] && \ echo "WARNING: laravel $_lv requires PHP 8.*" | tee -a $_log && \ echo " Falling back to laravel 8.*" | tee -a $_log && \ _lv="8.*" -# debug -echo "after the fallback conditional _lv=$_lv" - # Scaffold echo "BEGIN: Scaffolding Laravel Project" | tee -a $_log echo " Creating Laravel $_lv project scaffolding in $_scaff_dest" | tee -a $_log