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

ASF subversion and git services commented on JENA-2062:
-------------------------------------------------------

Commit d1c9638cfa6d48b374fc714d86306f0f427c2483 in jena's branch 
refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=d1c9638 ]

Merge pull request #947 from afs/script-fix

JENA-2062: Quote FUSEKI_BASE

> 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
>            Priority: Trivial
>
> 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)

Reply via email to