You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2017/06/25 14:36:23 UTC

[4/6] jena git commit: Quote FUSEKI_JAR

Quote FUSEKI_JAR


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/7d9bb0d2
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/7d9bb0d2
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/7d9bb0d2

Branch: refs/heads/master
Commit: 7d9bb0d2c2e3349193c13183dcb51083c5a0793e
Parents: 2e361da
Author: Andy Seaborne <an...@apache.org>
Authored: Sat Jun 24 12:58:49 2017 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Sat Jun 24 12:58:49 2017 +0100

----------------------------------------------------------------------
 jena-fuseki2/jena-fuseki-basic/sparqler/run-sparqler | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/7d9bb0d2/jena-fuseki2/jena-fuseki-basic/sparqler/run-sparqler
----------------------------------------------------------------------
diff --git a/jena-fuseki2/jena-fuseki-basic/sparqler/run-sparqler b/jena-fuseki2/jena-fuseki-basic/sparqler/run-sparqler
index 93aa84d..f487ed4 100755
--- a/jena-fuseki2/jena-fuseki-basic/sparqler/run-sparqler
+++ b/jena-fuseki2/jena-fuseki-basic/sparqler/run-sparqler
@@ -52,11 +52,11 @@ set --
 if [ "$BACKGROUND" = 0 ]
 then
     # Run in the foreground
-    exec java $JVM_ARGS $FUSEKI_LOG -jar $FUSEKI_JAR $SPARQLER_ARGS
+    exec java $JVM_ARGS $FUSEKI_LOG -jar "$FUSEKI_JAR" $SPARQLER_ARGS
 else
     # Run in the background
     # Linux / nohup
-    nohup java $JVM_ARGS $FUSEKI_LOG -jar $FUSEKI_JAR $SPARQLER_ARGS > nohup.log 2>&1 &
+    nohup java $JVM_ARGS $FUSEKI_LOG -jar "$FUSEKI_JAR" $SPARQLER_ARGS > nohup.log 2>&1 &
     # Process ID ... of the script.
     PROC=$!
     echo "Server process = $PROC"