pkg: ccn-lite: reset origin remote before fetching
This commit is contained in:
parent
4ca418cee9
commit
69044dbb15
@ -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..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user