From a1ab05beb99d05997fc2294aa5e3f713540e12ef Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Tue, 24 Nov 2009 06:54:20 +0000 Subject: 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 --- bin/couchdb.bat.tpl.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/couchdb.bat.tpl.in') 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. -- cgit v1.2.3