summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Fogal <[email protected]>2009-11-18 20:19:29 -0700
committerBrian Paul <[email protected]>2009-11-19 09:26:39 -0700
commit8f24e863c3745b59e00978fbba306077629b5684 (patch)
tree1cf7678826fb73013af551776df175b600f4fe7c
parent4e6e2462ea1fb5b7fc24bb0e707a9cf6507c47c9 (diff)
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 <[email protected]>
-rw-r--r--progs/Makefile2
1 files changed, 1 insertions, 1 deletions
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