db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Miller (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5432) Space in default installation directory makes tools (e.g. dblook) unrunnable
Date Tue, 27 Sep 2011 00:25:12 GMT
Space in default installation directory makes tools (e.g. dblook) unrunnable
----------------------------------------------------------------------------

                 Key: DERBY-5432
                 URL: https://issues.apache.org/jira/browse/DERBY-5432
             Project: Derby
          Issue Type: Bug
          Components: Tools
    Affects Versions: 10.5.3.0
         Environment: MacOS X Lion (10.7.1)
            Reporter: Timothy Miller
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message