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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Dec 18 23:30:25 CET 2007


Revision: 29902
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29902&view=rev
Author:   fingolfin
Date:     2007-12-18 14:30:25 -0800 (Tue, 18 Dec 2007)

Log Message:
-----------
Fix for bug #1853110: Error in configure on MacOS X (head -c is not portable, sed hopefully is)

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

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2007-12-18 20:12:42 UTC (rev 29901)
+++ scummvm/trunk/configure	2007-12-18 22:30:25 UTC (rev 29902)
@@ -367,7 +367,7 @@
 
 # Show the configure help line for an option
 option_help() {
-	option=`echo "--$(echo $1 | sed 's/_/-/g')                       " | head -c 23`
+	option=`echo "--$(echo $1 | sed 's/_/-/g')                       " | sed "s/\(.\{23\}\).*/\1/"`
 	echo "  ${option}  ${2}"
 }
 


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