aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/patches
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-04 09:59:03 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-04 09:59:03 +0400
commit936b4c7df84cc725924c62b2ca3dc5e89509ba50 (patch)
tree8edfaf0e30f8314b9739f60a540bf07784a764f1 /mcp/patches
parentbb4d411c652dd37b17ab69c85ae75d50fe815561 (diff)
Locate toplevel for git submodule [2]
Change-Id: I0c719ec4cfd3d0a526fd6913358cc80c5a599985 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/patches')
-rw-r--r--mcp/patches/Makefile2
1 files changed, 1 insertions, 1 deletions
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 $@