From 69044dbb15e10dd1358d3b8fff064cdf2bae53eb Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Fri, 8 Jan 2016 15:19:45 +0100 Subject: [PATCH] pkg: ccn-lite: reset origin remote before fetching --- pkg/ccn-lite/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/ccn-lite/Makefile b/pkg/ccn-lite/Makefile index a4186e5867..9961bbaa6e 100644 --- a/pkg/ccn-lite/Makefile +++ b/pkg/ccn-lite/Makefile @@ -21,7 +21,9 @@ $(PKG_DIR)/Makefile: $(PKG_DIR)/.git/config $(PKG_DIR)/.git/config: test -d "$(PKG_DIR)" || git clone "$(PKG_URL)" "$(PKG_DIR)"; \ - cd "$(PKG_DIR)" && git fetch && git checkout -f "$(PKG_VERSION)" + cd "$(PKG_DIR)" && \ + git remote set-url origin "$(PKG_URL)" && \ + git fetch && git checkout -f "$(PKG_VERSION)" clean:: @echo "Cleaning up CCN-Lite package..."