[Scummvm-cvs-logs] SF.net SVN: scummvm:[40758] scummvm/trunk/backends/platform/dc/dreamcast.mk

marcus_c at users.sourceforge.net marcus_c at users.sourceforge.net
Thu May 21 14:46:39 CEST 2009


Revision: 40758
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40758&view=rev
Author:   marcus_c
Date:     2009-05-21 12:46:39 +0000 (Thu, 21 May 2009)

Log Message:
-----------
Workaround for shells that treat an empty list in for as a syntax error...

Modified Paths:
--------------
    scummvm/trunk/backends/platform/dc/dreamcast.mk

Modified: scummvm/trunk/backends/platform/dc/dreamcast.mk
===================================================================
--- scummvm/trunk/backends/platform/dc/dreamcast.mk	2009-05-21 11:49:47 UTC (rev 40757)
+++ scummvm/trunk/backends/platform/dc/dreamcast.mk	2009-05-21 12:46:39 UTC (rev 40758)
@@ -10,7 +10,7 @@
 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"; \


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list