You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/05 10:00:00 UTC

[jira] [Commented] (JENA-2062) Script fuseki-server variable FUSEKI_BASE fails with whitespace

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

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

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

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)