summaryrefslogtreecommitdiffstats
path: root/build/f_repos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build/f_repos/Makefile')
-rw-r--r--build/f_repos/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/f_repos/Makefile b/build/f_repos/Makefile
index 06d91115d..b5eafff9b 100644
--- a/build/f_repos/Makefile
+++ b/build/f_repos/Makefile
@@ -150,7 +150,7 @@ get-cache: .cacheid
@if $(CACHETOOL) check $(shell cat .cacheid); then \
$(MAKE) clean && \
$(CACHETOOL) get $(shell cat .cacheid) | \
- tar xf - -C ${F_GIT_ROOT}/.git; \
+ tar xf - -C ${F_GIT_DIR}; \
else \
echo "No cache item found for $(shell cat .cacheid)" ;\
exit 0;\
@@ -161,6 +161,6 @@ get-cache: .cacheid
put-cache: .cacheid
@if ! $(CACHETOOL) check $(shell cat .cacheid); then \
$(MAKE) clean && \
- tar cf - -C ${F_GIT_ROOT}/.git modules | \
+ tar cf - -C ${F_GIT_DIR} modules | \
$(CACHETOOL) put $(shell cat .cacheid); \
fi