[DVDnav-discuss] r994 - trunk/libdvdnav/configure2

nicodvb subversion at mplayerhq.hu
Sat Jan 5 15:50:54 CET 2008


Author: nicodvb
Date: Sat Jan  5 15:50:53 2008
New Revision: 994

Log:
dd to cut -f 2- instead of -f 2 to permit to catch all characters after the second
field delimiter, or values of optval with "-" in them will be truncated.
Patch by Diego Pettenò


Modified:
   trunk/libdvdnav/configure2

Modified: trunk/libdvdnav/configure2
==============================================================================
--- trunk/libdvdnav/configure2	(original)
+++ trunk/libdvdnav/configure2	Sat Jan  5 15:50:53 2008
@@ -57,7 +57,7 @@ optimizations="-O3"
 threadlib="-lpthread"
 
 for opt do
-  optval=`echo $opt | cut -d '=' -f 2`
+  optval=`echo $opt | cut -d '=' -f 2-`
   case "$opt" in
   --enable-shared) SHARED=yes
   ;;



More information about the DVDnav-discuss mailing list