Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.7
-
Windows 8.1 64-bit
-
Newcomer (Easy) - Everyone can do this
Description
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.
Attachments
Issue Links
- is related to
-
OODT-768 query-tool utility incorrect relative path for filemanger component
- Resolved