You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Vishal Hemnani (JIRA)" <ji...@apache.org> on 2014/10/21 22:33:34 UTC
[jira] [Created] (OODT-763) Incorrect path to OODT_HOME and filemgr
component in query_tool
Vishal Hemnani created OODT-763:
-----------------------------------
Summary: Incorrect path to OODT_HOME and filemgr component 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
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)