Show
Ignore:
Timestamp:
16.10.2013 17:48:59 (6 years ago)
Author:
davidb
Message:

PATH environment tweaked to help the Fuseki s-xxx scripts be run from Perl under Cygwin. s-put also changed to s-post as the former does not actually append triples, but wipes out all previous triples

Location:
gs2-extensions/apache-jena/trunk/src/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/src/gs-triplestore-add

    r28451 r28466  
    11#!/bin/bash 
    2  
    3 #pushd "$GEXT_JENA_INSTALLED"  
    42 
    53if [ $# -ne 2 ] ; then 
     
    119file_ttl=$2 
    1210 
    13 s-put http://localhost:3030/greenstone/data $graph_name "$file_ttl" 
     11# The following line helps with runing a she-bang line of: 
     12#   '#!/usr/bin/env ruby' 
     13# when the current script has been run from Perl under Cygwin 
     14# 
     15export PATH=/usr/bin:$PATH 
    1416 
    15 #popd 
     17s-post http://localhost:3030/greenstone/data $graph_name "$file_ttl" 
     18 
  • gs2-extensions/apache-jena/trunk/src/src/gs-triplestore-query

    r28451 r28466  
    88#pushd "$GEXT_JENA_INSTALLED"  
    99 
     10# The following line helps with runing a she-bang line of: 
     11#   '#!/usr/bin/env ruby' 
     12# when the current script has been run from Perl under Cygwin 
     13# 
     14export PATH=/usr/bin:$PATH 
     15 
    1016s-query --service http://localhost:3030/greenstone/query "$*" 
    1117