Derby
  1. Derby
  2. DERBY-5432

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • 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

          Timothy Miller created issue -
          Hide
          Knut Anders Hatlen added a comment -

          Do you also see this problem with newer versions of Derby? In Derby 10.6 and newer the line that fails for you is no longer in the script (changed in DERBY-3207).

          Show
          Knut Anders Hatlen added a comment - Do you also see this problem with newer versions of Derby? In Derby 10.6 and newer the line that fails for you is no longer in the script (changed in DERBY-3207 ).
          Mamta A. Satoor made changes -
          Field Original Value New Value
          Labels derby_triage10_9
          Issue & fix info Newcomer [ 10423 ]
          Hide
          Knut Anders Hatlen added a comment -

          This bug was fixed as a side effect of DERBY-3207. Resolving the issue.

          Show
          Knut Anders Hatlen added a comment - This bug was fixed as a side effect of DERBY-3207 . Resolving the issue.
          Knut Anders Hatlen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 10.6.1.0 [ 12313727 ]
          Resolution Fixed [ 1 ]
          Knut Anders Hatlen made changes -
          Link This issue relates to DERBY-3207 [ DERBY-3207 ]
          Gavin made changes -
          Workflow jira [ 12635385 ] Default workflow, editable Closed status [ 12802075 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development