소스 검색

Server: Install script - cd into clone dir before submodule checkout

Christian Kahlau 3 년 전
부모
커밋
95bf18750d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      server/install/install.sh

+ 4 - 0
server/install/install.sh

@@ -32,6 +32,10 @@ TMPFOLDER="/tmp/hbbq/monitoring/$(date +'%Y%m%d%H%M%S')"
 echo "[INSTALL] Cloning entire project into temp folder $TMPFOLDER"
 mkdir -p "$TMPFOLDER"
 git clone https://gogs.hostbbq.com/hostbbq/hostbbq-monitoring.git "$TMPFOLDER"
+
+cd "$TMPFOLDER"
+
+echo "[INSTALL] Cloning submodules ..."
 git submodule init
 git submodule update