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

Richard N. Hillegas commented on DERBY-6925:
--------------------------------------------

Thanks for the patch, Piotr. It looks simple enough. Unless Bryan objects, I 
will commit it later this week.

The whole issue can be side-stepped by using derbyrun.jar to setup the 
classpath:

{noformat}
java -jar lib/derbyrun.jar server start
{noformat}

I wonder if we should deprecate the shell/batch scripts. They were introduced 
before derbyrun.jar. The derbyrun.jar idiom seems less brittle to me.


> Bug in derby_common.sh
> ----------------------
>
>                 Key: DERBY-6925
>                 URL: https://issues.apache.org/jira/browse/DERBY-6925
>             Project: Derby
>          Issue Type: Bug
>            Reporter: Eli Barzilay
>            Priority: Minor
>         Attachments: DERBY-6925.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> At the end of the `derby_common.sh` file, as I currently see in the GH
> mirror:
>     
> https://github.com/apache/derby/blob/trunk/bin/templates/derby_common.sh#L166
> there is an unquoted use of $SHELL which should really be quoted.  We
> have run into this bug trying to start the server in a docker image,
> with a setup that has no SHELL variable, which results in a syntax
> error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to