Derby
  1. Derby
  2. DERBY-5432

Space in default installation directory makes tools (e.g. dblook) unrunnable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: 10.6.1.0
    • Component/s: Tools
    • Environment:
      MacOS X Lion (10.7.1)
    • Urgency:
      Normal
    • Issue & fix info:
      Newcomer

      Description

      The default installation directory for Derby has a space in it. Here, it came out as "javadb 10.5.3.0". There is a bug in (at least) the dblook script that cannot handle this space.

      $ ../javadb\ 10.5.3.0/bin/dblook -d MinuteMan
      ../javadb 10.5.3.0/bin/dblook: line 26: /Users/millerti/javadb: No such file or directory

      This is on line 26 of the dblook script:
      . $DERBY_HOME/bin/derby_common.sh

      Where $DERBY_HOME is used, there needs to be quotation marks, like this:

      . "$DERBY_HOME/bin/derby_common.sh"

      If I add those, the tool starts up.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Timothy Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development