You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/04/15 14:27:25 UTC
[jira] [Updated] (KARAF-4374) Problems in Karaf start script
[ https://issues.apache.org/jira/browse/KARAF-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-4374:
----------------------------------------
Fix Version/s: (was: 4.0.6)
4.0.5
> Problems in Karaf start script
> ------------------------------
>
> Key: KARAF-4374
> URL: https://issues.apache.org/jira/browse/KARAF-4374
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.0.4
> Reporter: Lars Kiesow
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.1.0, 4.0.5, 3.0.7
>
>
> There are a couple of problems pointed out by shellcheck [1] in the karaf start script (bin/karaf). These include:
>
> - Properly quote variables to prevent spaces from breaking the script
> - Ensure that KARAF_HOME is set for commands which would otherwise try
> to delete parts of the root file system. E.g: `rm -rf "$KARAF_HOME/lib"`
> - Use only $(..) instead of both $(...) and `...`
> - Require bash since not all commands are posix compliant anyway.
> [1] http://shellcheck.net
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)