Ignore:
Timestamp:
2013-10-16T17:48:59+13:00 (11 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.