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 19:22:08 UTC

svn commit: r1507068 - /jena/trunk/jena-fuseki/soh

Author: andy
Date: Thu Jul 25 17:22:08 2013
New Revision: 1507068

URL: http://svn.apache.org/r1507068
Log:
Fix case of 'soh' and no args

Modified:
    jena/trunk/jena-fuseki/soh

Modified: jena/trunk/jena-fuseki/soh
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/soh?rev=1507068&r1=1507067&r2=1507068&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/soh (original)
+++ jena/trunk/jena-fuseki/soh Thu Jul 25 17:22:08 2013
@@ -111,13 +111,11 @@ $accept_charset=nil
 
 $cmd = File.basename($0)
 if $cmd == 'soh'
+then
   $cmd = (ARGV.size == 0) ? 'soh' : ARGV.shift
-  end
+end
 
-if ! $cmd.start_with?('s-')
-  # If you don't have start_with? ...
-  # if ! $cmd.match(/^s-/)
-  # "soh query ..."
+if ! $cmd.start_with?('s-') && $cmd != 'soh'
   $cmd = 's-'+$cmd
 end