From 6ed71c45dd97a7658b60a801d381d33785e80844 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Mon, 20 Jan 2014 20:00:30 +0100 Subject: [PATCH] site-modules: fix generation of feeds.conf --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5d267e04..3f0e9e68 100644 --- a/Makefile +++ b/Makefile @@ -143,8 +143,9 @@ export GLUON_CONFIGURE := $(GLUONDIR)/scripts/configure.pl feeds: FORCE - [ ! -f $(GLUON_SITEDIR)/modules ] || . $(GLUON_SITEDIR)/modules && for feed in $$GLUON_SITE_FEEDS; do echo src-link $$feed ../../packages/$$feed; done > feeds.conf - . $(GLUONDIR)/modules && for feed in $$GLUON_FEEDS; do echo src-link $$feed ../../packages/$$feed; done > feeds.conf + echo -n > feeds.conf + [ ! -f $(GLUON_SITEDIR)/modules ] || . $(GLUON_SITEDIR)/modules && for feed in $$GLUON_SITE_FEEDS; do echo src-link $$feed ../../packages/$$feed; done >> feeds.conf + . $(GLUONDIR)/modules && for feed in $$GLUON_FEEDS; do echo src-link $$feed ../../packages/$$feed; done >> feeds.conf +$(GLUONMAKE) refresh_feeds V=s$(OPENWRT_VERBOSE) config: FORCE