Przeglądaj źródła

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

Christian Kahlau 3 lat temu
rodzic
commit
95bf18750d
1 zmienionych plików z 4 dodań i 0 usunięć
  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