Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2062

Script fuseki-server variable FUSEKI_BASE fails with whitespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Jena 3.17.0
    • Jena 4.0.0
    • Fuseki
    • None

    Description

      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" ]

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              AtesComp Keven L. Ates
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: