From: Tom Fogal Date: Thu, 19 Nov 2009 03:19:29 +0000 (-0700) Subject: progs: Fix quoting issue with empty set of PROGRAM_DIRS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f24e863c3745b59e00978fbba306077629b5684;p=mesa.git 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 --- diff --git a/progs/Makefile b/progs/Makefile index 3700707dfb1..d5852fa416c 100644 --- a/progs/Makefile +++ b/progs/Makefile @@ -4,7 +4,7 @@ TOP = .. include $(TOP)/configs/current -SUBDIRS = $(PROGRAM_DIRS) +SUBDIRS = "$(strip "$(PROGRAM_DIRS)")" default: message subdirs