1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #4614 from OlegHahm/ccnl_always_fetch

pkg: ccn-lite: always fetch upstream repository
This commit is contained in:
Oleg Hahm 2016-01-29 09:08:48 +01:00
commit 28badca9c7

View File

@ -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 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..."