diff options
author | Marcus Comstedt | 2009-05-21 12:46:39 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-05-21 12:46:39 +0000 |
commit | f583a10ec97b3f4ada56ed5e296d4143a4e10e30 (patch) | |
tree | 3d973b6e7189b72e37f49f309dc69d9b0c2301a7 | |
parent | 2bf25c3865fe5c8ab3d40805c62275a8060b98a4 (diff) | |
download | scummvm-rg350-f583a10ec97b3f4ada56ed5e296d4143a4e10e30.tar.gz scummvm-rg350-f583a10ec97b3f4ada56ed5e296d4143a4e10e30.tar.bz2 scummvm-rg350-f583a10ec97b3f4ada56ed5e296d4143a4e10e30.zip |
Workaround for shells that treat an empty list in for as a syntax error...
svn-id: r40758
-rw-r--r-- | backends/platform/dc/dreamcast.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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"; \ |