Преглед изворни кода

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