diff --git a/pkg/oonf_api/Makefile b/pkg/oonf_api/Makefile index 826f84b4ba..aa27fce085 100644 --- a/pkg/oonf_api/Makefile +++ b/pkg/oonf_api/Makefile @@ -31,7 +31,7 @@ $(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME) $(CURDIR)/$(PKG_NAME)/: git clone $(PKG_URL) $@ && \ - cd $@ && git checkout $(PKG_VERSION) + cd $@ && git reset --hard $(PKG_VERSION) clean:: # Reset package to checkout state.