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

marcus_c at users.sourceforge.net marcus_c at users.sourceforge.net
Tue Mar 17 23:49:04 CET 2009


Revision: 39497
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39497&view=rev
Author:   marcus_c
Date:     2009-03-17 22:49:00 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
tail on e.g. Solaris does not support the use of "-n 1".  Use the good old "-1" syntax instead.

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

Modified: scummvm/trunk/Makefile.common
===================================================================
--- scummvm/trunk/Makefile.common	2009-03-17 22:41:54 UTC (rev 39496)
+++ scummvm/trunk/Makefile.common	2009-03-17 22:49:00 UTC (rev 39497)
@@ -118,7 +118,7 @@
 	$(srcdir)/dists/iphone/Info.plist \
 	$(srcdir)/dists/macosx/Info.plist
 
-VERSION = $(shell tail -n 1 "${srcdir}/base/internal_version.h" | cut -d\" -f2)
+VERSION = $(shell tail -1 "${srcdir}/base/internal_version.h" | 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