Fix listing of directories used in a .source file
All checks were successful
the build was successful

This commit is contained in:
Reinhard Müller 2019-03-06 23:08:28 +01:00
parent 521b9ce5b5
commit 7c918adade

View File

@ -51,7 +51,7 @@ all: d_year.en.xml d_month.en.xml d_day.en.xml
# -----------------------------------------------------------------------------
# use shell globbing to work around faulty globbing in gnu make
SOURCEDIRS = $(shell sed -rn 's;^(.*/)[^/]*:(\[\]|global)$$;\1;gp' $@ )
SOURCEDIRS = $(shell ls -d `sed -rn 's;^(.*/)[^/]*:(\[\]|global)$$;\1;gp' $@`)
SOURCEREQS = $(shell ./build/source_globber.sh sourceglobs $@ |sed 's;$$;.??.xml;g' )
all: $(shell find ./ -name '*.sources')