Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-763

Incorrect path to OODT_HOME and FILEMGR_HOME in query_tool

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: file manager
    • Labels:
    • Environment:

      Windows 8.1 64-bit

    • Skill Level:
      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-

      1. 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,

      1. 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

            Activity

              People

              • Assignee:
                chrismattmann Chris A. Mattmann
                Reporter:
                vishalhemnani Vishal Hemnani
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified