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

Chris A. Mattmann updated OODT-763:
-----------------------------------
    Fix Version/s: 0.8

> Incorrect path to OODT_HOME and FILEMGR_HOME in query_tool
> ----------------------------------------------------------
>
>                 Key: OODT-763
>                 URL: https://issues.apache.org/jira/browse/OODT-763
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.7
>         Environment: Windows 8.1 64-bit
>            Reporter: Vishal Hemnani
>            Priority: Minor
>              Labels: query-tool
>             Fix For: 0.8
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The query_tool script in File Manager component has the path to OODT_HOME and 
> FILEMGR_HOME incorrectly setup.
> Following is the error that results-
> $:/usr/local/oodt/filemgr/bin$ ./query-tool
> ./query-tool: 73: cd: can't cd to /usr/local/components/filemgr/bin
> In query_tool-
> # Only set OODT_HOME if not already set
> [ -z "$OODT_HOME" ] && OODT_HOME=`cd "$PRGDIR/../../.." ; pwd`
> the path should be 
> OODT_HOME=`cd "$PRGDIR/../.." ; pwd`
> and in,
> # Only set FILEMGR_HOME if not already set
> if [ -z "$FILEMGR_HOME" ]; then
>   FILEMGR_HOME="$OODT_HOME"/components/filemgr
>   export FILEMGR_HOME
> fi
> the path should be FILEMGR_HOME="$OODT_HOME"/filemgr
> As discussed with Chris Mattmann, I'm sending a pull-request for this fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to