From f3229dc6ce31ba0962657bcd2c29e999224d8853 Mon Sep 17 00:00:00 2001 From: cyBerta <cyberta@riseup.net> Date: Mon, 8 Aug 2022 16:59:48 +0200 Subject: [PATCH] revert commenting out recursive submodule sync and update --- build_core.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_core.sh b/build_core.sh index aa82f19..7a06f64 100755 --- a/build_core.sh +++ b/build_core.sh @@ -61,8 +61,8 @@ tar -C ./golang -xzf $GO_VERSION.tar.gz || quit "Could not untar $GO_VERSION.tar # -------- update submodules --------------- showtitle "Updating submodules" -#git submodule sync --recursive || quit "git submodule sync --recursive" -#git submodule update --init --recursive || quit "git submodule update --init --recursive" +git submodule sync --recursive || quit "git submodule sync --recursive" +git submodule update --init --recursive || quit "git submodule update --init --recursive" # -------- init environment variables --------------- @@ -71,7 +71,7 @@ export GOPATH=`pwd` export GO_LANG=`pwd`/go/bin export GO_COMPILED=`pwd`/bin export PATH="${GO_LANG}:${GO_COMPILED}:${PATH}" -# the next line can be removed if we use golag v1.18+ +# the next line can be removed if we use golang v1.18+ go env -w GOFLAGS=-mod=mod go env cd .. -- GitLab