From 2e1c2f63ef728027ebb8183599a4ebba734c8a04 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sat, 7 Dec 2019 16:41:44 +0100 Subject: checkout fix again (bugfix) --- installer.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/installer.sh b/installer.sh index ae6518e..dab1afc 100755 --- a/installer.sh +++ b/installer.sh @@ -41,10 +41,7 @@ INSTALL-PREP () { Iversion=(git describe --abbrev=0) # Get last tag(stable version) echo "Starting Git checkout to "$Iversion"" git init $tmp_path - ( - cd $tmp_path - git checkout $Iversion $tmp_path - ) + (cd $tmp_path; git checkout $Iversion) echo "" read -e -i "$VAR_PREFIX" -p "PREFIX (Install root directory): " input # Reads VAR_PREFIX -- cgit v1.2.3