diff --git a/pkg/ccn-lite/Makefile b/pkg/ccn-lite/Makefile index d419f98e5d..a4186e5867 100644 --- a/pkg/ccn-lite/Makefile +++ b/pkg/ccn-lite/Makefile @@ -21,7 +21,7 @@ $(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 fetch && git checkout -f "$(PKG_VERSION)" clean:: @echo "Cleaning up CCN-Lite package..."