[
https://issues.apache.org/jira/browse/DERBY-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606472#comment-17606472
]
Piotr Zygielo commented on DERBY-6925:
--------------------------------------
Thanks for reminding the tip for runnable jar (I completely forgot DERBY-7046
that [easier
way|https://db.apache.org/derby/papers/DerbyTut/ns_intro.html#ns_easier_way]
was mentioned in).
For the project that this one is observed in, SHELL is just set to some
nonsense before start/stop scripts execution to avoid mentioned syntax error.
> 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)