summaryrefslogtreecommitdiff
path: root/mk/fetch.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-29 00:58:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-29 00:58:13 +0100
commit661b3d8201862c54ea5c8ab55406c45cadc906a0 (patch)
treed8a21dc13df59a27366df459fc5980ae5459ba2e /mk/fetch.mk
parent1a97cdb80945a675353ff4e9e01a3b9b0f50d419 (diff)
linux: update to 4.9.6
Diffstat (limited to 'mk/fetch.mk')
-rw-r--r--mk/fetch.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 3b2ff871d..28ae0e7ec 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -69,17 +69,17 @@ $(1):
case "$${PKG_GIT}" in \
tag|branch) \
git clone --depth 1 --branch $${PKG_VERSION} $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION} $(DL_TRACE); \
- if [ $$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
+ if [ $$$$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
;; \
hash) \
git clone $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION} $(DL_TRACE); \
- if [ $$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
+ if [ $$$$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
(cd $${PKG_NAME}-$${PKG_VERSION}; git checkout $${PKG_VERSION}) $(DL_TRACE); \
;; \
esac ;\
else \
git clone --depth 1 $${PKG_SITES} $${PKG_NAME}-$${PKG_VERSION} $(DL_TRACE); \
- if [ $$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
+ if [ $$$$? -ne 0 ]; then echo "git clone error"; exit 1; fi; \
fi; \
tar cJf $${PKG_NAME}-$${PKG_VERSION}.tar.xz $${PKG_NAME}-$${PKG_VERSION}; \
touch $$$${filename}.nohash; \