Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-131

bin/sentry script doesn't find config-tool.sh under some circumstances

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      The sentry binary script makes an assumption that the config-tool.sh script is under SENTRY_HOME/bin/ which in turn assumes that the sentry jars are under SENTRY_HOME/lib.

      This is not a fair assumption in my opinion because the binary scripts and jars don't have to be under the same top level directory. I think a better way to do this would be to to have SENTRY_HOME/lib point to where the jars are, but don't assume that config-tool.sh is under SENTRY_HOME/bin. We can look for config-tool.sh in the same directory that the sentry script is present in, since they always are/should be.

        Attachments

        1. SENTRY-131.1.patch
          0.4 kB
          Mark Grover

          Activity

            People

            • Assignee:
              mgrover Mark Grover
              Reporter:
              mgrover Mark Grover
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: