couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r668126 - /incubator/couchdb/trunk/configure.ac
Date Mon, 16 Jun 2008 12:04:39 GMT
Author: nslater
Date: Mon Jun 16 05:04:39 2008
New Revision: 668126

URL: http://svn.apache.org/viewvc?rev=668126&view=rev
Log:
corrected dollar escapes

Modified:
    incubator/couchdb/trunk/configure.ac

Modified: incubator/couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/configure.ac?rev=668126&r1=668125&r2=668126&view=diff
==============================================================================
--- incubator/couchdb/trunk/configure.ac (original)
+++ incubator/couchdb/trunk/configure.ac Mon Jun 16 05:04:39 2008
@@ -106,13 +106,13 @@
 
 erlang_version_error="The installed Erlang version is less than 5.5.0 (R11B)."
 
-version=`${ERL} -version 2>&1 | ${SED} "s/[[^0-9]]/ /g"`
+version="`${ERL} -version 2>&1 | ${SED} "s/[[^0-9]]/ /g"`"
 
-if test `echo $version | ${AWK} "{print \$1}"` -lt 5; then
+if test `echo $version | ${AWK} "{print \\$1}"` -lt 5; then
     AC_MSG_ERROR([$erlang_version_error])
 fi
 
-if test `echo $version | ${AWK} "{print \$2}"` -lt 5; then
+if test `echo $version | ${AWK} "{print \\$2}"` -lt 5; then
     AC_MSG_ERROR([$erlang_version_error])
 fi
 



Mime
View raw message