Преглед на файлове

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