summaryrefslogtreecommitdiff
path: root/Makefile.top
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-11-27 23:42:15 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-11-27 23:42:43 +0100
commit9a00c7fd817508ad02901fa374dc63b63b535f96 (patch)
tree080be9124a348aee83fb8e17ce9344dbcd8f0ac1 /Makefile.top
parent721b1aca38a851c390f8e00ea96b761198db8bd5 (diff)
"fix" --with-linked-git case
Change-Id: I26a464a6b1a22997eac52706cb2d4b10c2bad443
Diffstat (limited to 'Makefile.top')
-rw-r--r--Makefile.top4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.top b/Makefile.top
index fc21ff90851e..6e616f14703f 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -381,8 +381,8 @@ ifeq (,$(GIT_LINK_SRC))
./g -f clone
else # space-saving clone from another local workdir
@echo "FIXME: GIT_LINK_SRC method is not yet implemented with submodules" 1>&2
- $(foreach i,$(GIT_NEEDED_SUBMODULES),\
- rm -r $(i) && cp -R $(GIT_LINK_SRC)/$(i) $(i))
+ true $(foreach i,$(GIT_NEEDED_SUBMODULES),\
+ && rm -r $(i) && cp -R $(GIT_LINK_SRC)/$(i) $(i))
# bin/git-new-workdir $GIT_LINK_SRC/$i $i
git submodule update $(GIT_NEEDED_SUBMODULES)
endif