couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hammond (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-574) couchdb.bat: change to erlang dir failed if user profile is on a different drive (patch contained)
Date Tue, 24 Nov 2009 06:56:40 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hammond resolved COUCHDB-574.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11
         Assignee: Mark Hammond

Thanks - fixed in r883606.

> couchdb.bat: change to erlang dir failed if user profile is on a different drive (patch
contained)
> --------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-574
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-574
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 0.10, 0.11
>         Environment: WinXP, install package: setup-couchdb-0.10.0.exe and setup-couchdb-0.11.0b819947.exe
>            Reporter: Thomas Mohaupt
>            Assignee: Mark Hammond
>             Fix For: 0.11
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> In couchdb.bat the first thing done is to change to the erlang directory
> ------ couchdb.bat line 14 - 15 ----------
> setlocal
> rem First change to the erlang bin directory
> cd %~dp0
> ----------------------------
> this failed if the batch file is called by "start menu" and the start menu is on a different
drive than the couchdb erlang dir. 
> -----------------------------
> e:\home\mot>"d:\Program Files\CouchDB\bin\couchdb.bat"
> CouchDB 0.10.0 - prepare to relax...
> 'erl.exe' is not recognized as an internal or external command,
> operable program or batch file.
> -----------------------------
> To fix this include "%~d0" after "setlocal"
> ------ couchdb.bat line 14 - 15 ----------
> setlocal
> rem First change to the erlang bin directory
> %~d0                               <<<< new - will change the drive
> cd %~dp0
> ----------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message