diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-10-13 13:40:27 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-10-13 13:40:27 +0200 |
commit | 2f843f4377a41efa79bb4c78886c28e39977b9fc (patch) | |
tree | db5cffc60c947654aa834b99862e5d99b5efe350 | |
parent | 76bdd08000d9b5ee32290e82635b2d9507c0c211 (diff) | |
download | archinstall-2f843f4377a41efa79bb4c78886c28e39977b9fc.tar archinstall-2f843f4377a41efa79bb4c78886c28e39977b9fc.tar.zst archinstall-2f843f4377a41efa79bb4c78886c28e39977b9fc.zip |
Fixed bug in git cloning.
-rw-r--r-- | new_archinstall.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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" |