jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1303463 - /incubator/jena/Jena2/Fuseki/trunk/fuseki-server
Date Wed, 21 Mar 2012 16:40:42 GMT
Author: andy
Date: Wed Mar 21 16:40:41 2012
New Revision: 1303463

URL: http://svn.apache.org/viewvc?rev=1303463&view=rev
Log:
Fix scripts for filenames with spaces (or metacharacters)

Modified:
    incubator/jena/Jena2/Fuseki/trunk/fuseki-server

Modified: incubator/jena/Jena2/Fuseki/trunk/fuseki-server
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/fuseki-server?rev=1303463&r1=1303462&r2=1303463&view=diff
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/fuseki-server (original)
+++ incubator/jena/Jena2/Fuseki/trunk/fuseki-server Wed Mar 21 16:40:41 2012
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bassh
 
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
@@ -16,9 +16,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-export FUSEKI_HOME=${FUSEKI_HOME:-$PWD}
+export FUSEKI_HOME="${FUSEKI_HOME:-$PWD}"
 
-if [ ! -e $FUSEKI_HOME ]
+if [ ! -e "$FUSEKI_HOME" ]
 then
     echo "$FUSEKI_HOME does not exist" 1>&2
     exit 1



Mime
View raw message