From: Michael Polenchuk Date: Mon, 4 Sep 2017 05:59:03 +0000 (+0400) Subject: Locate toplevel for git submodule [2] X-Git-Tag: opnfv-5.0.RC1~97 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F40973%2F1;p=fuel.git Locate toplevel for git submodule [2] Change-Id: I0c719ec4cfd3d0a526fd6913358cc80c5a599985 Signed-off-by: Michael Polenchuk --- diff --git a/mcp/patches/Makefile b/mcp/patches/Makefile index ae89498ae..061c647e6 100644 --- a/mcp/patches/Makefile +++ b/mcp/patches/Makefile @@ -50,7 +50,7 @@ sub: .cachefuelinfo @if [ -n "${FUEL_TRACK_REMOTES}" ]; then \ cd ${F_GIT_ROOT} && git submodule update --init --remote 2>/dev/null; \ else \ - git submodule update --init 2>/dev/null; \ + cd ${F_GIT_ROOT} && git submodule update --init 2>/dev/null; \ fi @touch $@