progs: Fix quoting issue with empty set of PROGRAM_DIRS.

Quotes are important to make sure the argument to test -n really
is the empty string, but that requires stringifying PROGRAM_DIRS.

Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Tom Fogal 2009-11-18 20:19:29 -07:00 committed by Brian Paul
parent 4e6e2462ea
commit 8f24e863c3

View file

@ -4,7 +4,7 @@ TOP = ..
include $(TOP)/configs/current
SUBDIRS = $(PROGRAM_DIRS)
SUBDIRS = "$(strip "$(PROGRAM_DIRS)")"
default: message subdirs