From 2f843f4377a41efa79bb4c78886c28e39977b9fc Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 13 Oct 2019 13:40:27 +0200 Subject: Fixed bug in git cloning. --- new_archinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/new_archinstall.sh b/new_archinstall.sh index 1f2b5cd..bb485b8 100644 --- a/new_archinstall.sh +++ b/new_archinstall.sh @@ -104,7 +104,9 @@ output "Cloning git repository ..." pacman --noconfirm -Sy git | tee -a $LOG_FILE_PATH mkdir $REPOSITORY_PATH -git clone $REPOSITORY_URL | tee -a $LOG_FILE_PATH +git clone $REPOSITORY_URL $REPOSITORY_PATH | tee -a $LOG_FILE_PATH +cd $REPOSITORY_PATH && git checkout $CLONE_BRANCH | tee -a $LOG_FILE_PATH +cd output "Git repository cloned - OK" -- cgit v1.2.3-70-g09d2