summaryrefslogtreecommitdiff
path: root/mk/fetch.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-18 22:20:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-18 22:20:55 +0100
commita334f29f7b92bc52ab958239cc9141d08c833bde (patch)
treeebbd7416f32448040ddecc6534a2824eea531094 /mk/fetch.mk
parentb0d6896ecb31587380538cd07ac8641f16632209 (diff)
use shallow clone for head
Diffstat (limited to 'mk/fetch.mk')
-rw-r--r--mk/fetch.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index f7a6d13d1..a7fa86aff 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -77,8 +77,7 @@ $(1):
;; \
esac ;\
else \
- echo "Using git head"; \
- git clone $(GITOPTS) $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION}; \
+ git clone --depth 1 $(GITOPTS) $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION}; \
fi; \
tar cJf $${PKG_NAME}-$${PKG_VERSION}.tar.xz $${PKG_NAME}-$${PKG_VERSION}; \
touch $$$${filename}.nohash; \