Fix submodule init in the bootstrap script

This commit is contained in:
Corrado Primier 2018-12-29 17:44:57 +00:00
parent eff4b43f76
commit 9661c41214
3 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit b66141e2523e03c3b71874fc2c7ae6989af7b335
Subproject commit 682b2acdac89dccbb3f4a449ac2d20283eb7c26a

View File

@ -6,6 +6,9 @@ REPODIR=`realpath ${SCRIPTDIR}/..`
git=`command -v git`
# basic
"${git}" -C "${REPODIR}" submodule init
# scripts
mkdir -p "${HOME}/bin"
for script in `ls "${SCRIPTDIR}"` ; do

View File

@ -1,5 +1,4 @@
#!/bin/sh
BINDIR=`dirname \`realpath "${0}"\``
REPODIR=`realpath ${BINDIR}/..`
cd "${REPODIR}"
git submodule update --remote --merge
git -C "${REPODIR}" submodule update --remote --merge