summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-06-15 17:24:14 +0000
committerNoah Slater <nslater@apache.org>2008-06-15 17:24:14 +0000
commitad89186d09e1db0a88299ad66529031173daac82 (patch)
treedcef5c0ce60fa5b20642b84b4c0bceb4943fccd1
parent65038be103be4b9a82cad8a3c5dbea29d2e70b26 (diff)
corrected backtick dollar escape
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667977 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--bin/couchdb.tpl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index d62b378e..00e6d3a1 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -105,11 +105,11 @@ display_error () {
_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