afs commented on issue #1336:
URL: https://github.com/apache/jena/issues/1336#issuecomment-1136438196

   There is a corner case : suppose "$FUSEKI_HOME/log4j2.properties" does not 
exist then LOGGING isn't set and $LOGGING expands on the command line to no 
argument. But if it is quoted, it puts in an empty string argument. And because 
it has no leading "-" it cuts off the command flags.
   
   What about:
   ```
   elif [ ! -n "$LOGGING" ]
        LOGGING="'$LOGGING'"
   fi
   ```
   (that's double-quote, single quote ... single-quote, double-quote)
   
   set LOGGING to have quotes and keep $LOGGING unquoted in the java line.
   
   An alternative is to to set LOGGING to some no-op like `-Dnosuch=novalue`.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to