From 936b4c7df84cc725924c62b2ca3dc5e89509ba50 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Mon, 4 Sep 2017 09:59:03 +0400 Subject: Locate toplevel for git submodule [2] Change-Id: I0c719ec4cfd3d0a526fd6913358cc80c5a599985 Signed-off-by: Michael Polenchuk --- mcp/patches/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/patches') 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 $@ -- cgit 1.2.3-korg