[Scummvm-cvs-logs] SF.net SVN: scummvm:[39729] scummvm/trunk/Makefile.common

waltervn at users.sourceforge.net waltervn at users.sourceforge.net
Sun Mar 29 00:39:59 CET 2009


Revision: 39729
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39729&view=rev
Author:   waltervn
Date:     2009-03-28 23:39:59 +0000 (Sat, 28 Mar 2009)

Log Message:
-----------
Fix bug #2691034: AMIGAOS: Makefile.common broken.

Modified Paths:
--------------
    scummvm/trunk/Makefile.common

Modified: scummvm/trunk/Makefile.common
===================================================================
--- scummvm/trunk/Makefile.common	2009-03-28 17:04:46 UTC (rev 39728)
+++ scummvm/trunk/Makefile.common	2009-03-28 23:39:59 UTC (rev 39729)
@@ -114,7 +114,8 @@
 # Get the current version information
 ######################################################################
 
-VERSION = $(shell grep SCUMMVM_VERSION "${srcdir}/base/internal_version.h" | cut -d\" -f2)
+# AmigaOS4's grep has a problem with "./" in pathnames, so use cat.
+VERSION = $(shell cat "${srcdir}/base/internal_version.h" | grep SCUMMVM_VERSION | cut -d\" -f2)
 VER_MAJOR = $(shell echo $(VERSION) | cut -d. -f 1)
 VER_MINOR = $(shell echo $(VERSION) | cut -d. -f 2)
 VER_PATCH = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c1)


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