Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5432

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.5.3.0
    • 10.6.1.0
    • Tools
    • MacOS X Lion (10.7.1)
    • Normal
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              theosib Timothy Miller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: