From f583a10ec97b3f4ada56ed5e296d4143a4e10e30 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Thu, 21 May 2009 12:46:39 +0000 Subject: Workaround for shells that treat an empty list in for as a syntax error... svn-id: r40758 --- backends/platform/dc/dreamcast.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk index cb62607af6..c33867b7f4 100644 --- a/backends/platform/dc/dreamcast.mk +++ b/backends/platform/dc/dreamcast.mk @@ -10,7 +10,7 @@ ASFLAGS := $(CXXFLAGS) dist : SCUMMVM.BIN plugin_dist plugin_dist : plugins - @for p in $(PLUGINS); do \ + @[ -z "$(PLUGINS)" ] || for p in $(or $(PLUGINS),none); do \ t="`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`"; \ if /usr/bin/test "$$p" -ot "$$t"; then :; else \ echo sh-elf-strip -g -o "$$t" "$$p"; \ -- cgit v1.2.3