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 2013/07/25 16:54:25 UTC
svn commit: r1506995 - /jena/trunk/jena-fuseki/soh
Author: andy
Date: Thu Jul 25 14:54:25 2013
New Revision: 1506995
URL: http://svn.apache.org/r1506995
Log:
Fix processing the command name
Modified:
jena/trunk/jena-fuseki/soh
Modified: jena/trunk/jena-fuseki/soh
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/soh?rev=1506995&r1=1506994&r2=1506995&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/soh (original)
+++ jena/trunk/jena-fuseki/soh Thu Jul 25 14:54:25 2013
@@ -110,7 +110,9 @@ $accept_charset=nil
## soh query .....
$cmd = File.basename($0)
-$cmd = (ARGV.size == 0) ? 'soh' : ARGV.shift
+if $cmd == 'soh'
+ $cmd = (ARGV.size == 0) ? 'soh' : ARGV.shift
+ end
if ! $cmd.start_with?('s-')
# If you don't have start_with? ...