aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc
diff options
context:
space:
mode:
authorMarcus Comstedt2009-05-21 12:46:39 +0000
committerMarcus Comstedt2009-05-21 12:46:39 +0000
commitf583a10ec97b3f4ada56ed5e296d4143a4e10e30 (patch)
tree3d973b6e7189b72e37f49f309dc69d9b0c2301a7 /backends/platform/dc
parent2bf25c3865fe5c8ab3d40805c62275a8060b98a4 (diff)
downloadscummvm-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
Diffstat (limited to 'backends/platform/dc')
-rw-r--r--backends/platform/dc/dreamcast.mk2
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"; \