[ 
https://issues.apache.org/jira/browse/DERBY-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726990#action_12726990
 ] 

Dag H. Wanvik commented on DERBY-4283:
--------------------------------------

As a work-around, the calling shell could test if "DERBY_HOME" has been set 
before sourcing the
setEmbeddedCP.


> setEmbeddedCP should not exit on error
> --------------------------------------
>
>                 Key: DERBY-4283
>                 URL: https://issues.apache.org/jira/browse/DERBY-4283
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.5.1.1
>         Environment: cygwin on windows (bash)
>            Reporter: Susumu Ishizuka
>            Priority: Minor
>
> setEmbeddedCP should use 'return' instead of 'exit' if DERBY_HOME was not set.
> Because this script will be sourced from a shell, use of exit will terminate 
> the calling shell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to