couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r667977 - /incubator/couchdb/trunk/bin/couchdb.tpl.in
Date Sun, 15 Jun 2008 17:24:14 GMT
Author: nslater
Date: Sun Jun 15 10:24:14 2008
New Revision: 667977

URL: http://svn.apache.org/viewvc?rev=667977&view=rev
Log:
corrected backtick dollar escape

Modified:
    incubator/couchdb/trunk/bin/couchdb.tpl.in

Modified: incubator/couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bin/couchdb.tpl.in?rev=667977&r1=667976&r2=667977&view=diff
==============================================================================
--- incubator/couchdb/trunk/bin/couchdb.tpl.in (original)
+++ incubator/couchdb/trunk/bin/couchdb.tpl.in Sun Jun 15 10:24:14 2008
@@ -105,11 +105,11 @@
 _load_configuration () {
     # Load ini configuration and overwrite default variables.
 
-    dbrootdir_ini_value=`%AWK% -F = "/^DbRootDir=/{print \$2}" < $INI_FILE`
+    dbrootdir_ini_value=`%AWK% -F = "/^DbRootDir=/{print \\$2}" < $INI_FILE`
     if test -n "$dbrootdir_ini_value"; then
         LIB_DIRECTORY=$dbrootdir_ini_value
     fi
-    logfile_ini_value=`%AWK% -F = "/^LogFile=/{print \$2}" < $INI_FILE`
+    logfile_ini_value=`%AWK% -F = "/^LogFile=/{print \\$2}" < $INI_FILE`
     if test -n "$logfile_ini_value"; then
         LOG_DIRECTORY=`dirname $logfile_ini_value`
     fi



Mime
View raw message