[
https://issues.apache.org/jira/browse/JENA-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-2062.
---------------------------------
Fix Version/s: Jena 4.0.0
Assignee: Andy Seaborne
Resolution: Fixed
> Script fuseki-server variable FUSEKI_BASE fails with whitespace
> ---------------------------------------------------------------
>
> Key: JENA-2062
> URL: https://issues.apache.org/jira/browse/JENA-2062
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Affects Versions: Jena 3.17.0
> Reporter: Keven L. Ates
> Assignee: Andy Seaborne
> Priority: Trivial
> Fix For: Jena 4.0.0
>
>
> Issue JENA-1734 introduced the FUSEKI_BASE variable. to the script file
> fuseki-server. However, the script fail to process FUSEKI_BASE usage when
> the variable contains spaces.
> *Example*:
> FUSEKI_BASE is set to "/some/dir/with/a space"
> Then, the script complains:
> ??.../fuseki-server: 100: [: /some/dir/with/a: unexpected operator??
> *Fix*:
> Line 100:
> ??if [ -d $FUSEKI_BASE/extra ]??
> should be changed to:
> ??if [ -d "$FUSEKI_BASE/extra" ]??
--
This message was sent by Atlassian Jira
(v8.3.4#803005)