From a2dec64b6733983e6d6b89b8f3e2b777e72dbb8b Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 12 May 2014 16:53:30 +0200 Subject: [PATCH] fix buildtest with oonf_api Don't try to checkout oonf_api if it's already present --- pkg/oonf_api/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/oonf_api/Makefile b/pkg/oonf_api/Makefile index b86ec884f..ad9f909c4 100644 --- a/pkg/oonf_api/Makefile +++ b/pkg/oonf_api/Makefile @@ -25,6 +25,7 @@ $(CURDIR)/$(PKG_NAME)/Makefile: $(CURDIR)/$(PKG_NAME) $(foreach patch,$(shell ls [0-9][0-9][0-9][0-9]*.patch),cd "$<" && git am "../$(patch)" || { git am --abort; exit 1; };) $(CURDIR)/$(PKG_NAME): + test -d oonf_api || \ git clone $(PKG_URL) $@ && \ cd $@ && git reset --hard $(PKG_VERSION)