summaryrefslogtreecommitdiff
path: root/bin/couchdb.bat.tpl.in
diff options
context:
space:
mode:
authorMark Hammond <mhammond@apache.org>2009-11-24 06:54:20 +0000
committerMark Hammond <mhammond@apache.org>2009-11-24 06:54:20 +0000
commita1ab05beb99d05997fc2294aa5e3f713540e12ef (patch)
treef1396949273d553ae98ddf4201d0ff2a7c084e3a /bin/couchdb.bat.tpl.in
parent2f908cd15bfd5d78a2b42712e668c52405b67d16 (diff)
Fix COUCHDB-574 - change to the erlang drive at startup
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@883606 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin/couchdb.bat.tpl.in')
-rw-r--r--bin/couchdb.bat.tpl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/couchdb.bat.tpl.in b/bin/couchdb.bat.tpl.in
index 9be38137..2f16b2a7 100644
--- a/bin/couchdb.bat.tpl.in
+++ b/bin/couchdb.bat.tpl.in
@@ -12,7 +12,9 @@ rem License for the specific language governing permissions and limitations
rem under the License.
setlocal
-rem First change to the erlang bin directory
+rem First change to the drive with the erlang bin directory
+%~d0
+rem then change to the erlang bin directory
cd %~dp0
rem Allow a different erlang executable (eg, werl) to be used.