mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 15:23:54 +01:00
fix: PROJECTS was empty while rebuilding the all target
replace $(wildcard function by ls, and now it's fixed Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f859483abd
commit
6a31b13b02
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ PROJECTS = $(shell cat projects.txt | sed '/^ *\#/ d')
|
||||||
# TODO: this could be nicer
|
# TODO: this could be nicer
|
||||||
CVS_PROJECTS = $(PROJECTS)
|
CVS_PROJECTS = $(PROJECTS)
|
||||||
else
|
else
|
||||||
PROJECTS ?= $(patsubst %/,%,$(dir $(wildcard */CVS */.git)))
|
PROJECTS ?= $(shell ls -d */CVS */.git 2>/dev/null | sed 's%/[^/]*%%')
|
||||||
CVS_PROJECTS = $(filter $(dir $(wildcard */CVS)),$(PROJECTS))
|
CVS_PROJECTS = $(filter $(dir $(wildcard */CVS)),$(PROJECTS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue