SOURCES: libgda-configure.patch - proper sh fix

qboosh qboosh at pld-linux.org
Thu May 31 00:13:35 CEST 2007


Author: qboosh                       Date: Wed May 30 22:13:35 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- proper sh fix

---- Files affected:
SOURCES:
   libgda-configure.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/libgda-configure.patch
diff -u SOURCES/libgda-configure.patch:1.4 SOURCES/libgda-configure.patch:1.5
--- SOURCES/libgda-configure.patch:1.4	Fri Aug 11 20:38:31 2006
+++ SOURCES/libgda-configure.patch	Thu May 31 00:13:30 2007
@@ -92,7 +92,7 @@
  	else
  		AC_MSG_CHECKING(for freetds version)
 -		freetdsvercheck="`grep \"^#define \(VERSION_NO \|TDS_VERSION_NO \)\" $freetds_incdir/tdsver.h|sed 's|^.*"\(.*\)"|\1|'`"
-+		freetdsvercheck="`grep VERSION ${includedir}/tdsver.h | sed 's|^.*"\(.*\)"|\1|'`"
++		freetdsvercheck="$(grep "^#define \(VERSION_NO \|TDS_VERSION_NO \)" ${includedir}/tdsver.h | sed 's|^.*"\(.*\)"|\1|')"
  		if test "x$freetdsvercheck" = "x"
  		then
  			AC_MSG_WARN(freetds version check failed - backend not used)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/libgda-configure.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list