[Scummvm-cvs-logs] SF.net SVN: scummvm:[48599] scummvm/trunk/configure

salty-horse at users.sourceforge.net salty-horse at users.sourceforge.net
Fri Apr 9 16:12:20 CEST 2010


Revision: 48599
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48599&view=rev
Author:   salty-horse
Date:     2010-04-09 14:12:20 +0000 (Fri, 09 Apr 2010)

Log Message:
-----------
Use head -1 instead of grep -m (non-POSIX flag)

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2010-04-09 13:46:10 UTC (rev 48598)
+++ scummvm/trunk/configure	2010-04-09 14:12:20 UTC (rev 48599)
@@ -204,7 +204,7 @@
 }
 
 gcc_get_define() {
-	$CXX -dM -E - < /dev/null | fgrep -m 1 "$1" | cut -d ' ' -f 3-
+	$CXX -dM -E - < /dev/null | fgrep "$1" | head -1 | cut -d ' ' -f 3-
 }
 
 #


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