Keven L. Ates created JENA-2062:
-----------------------------------

             Summary: 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


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