root/gs2-extensions/apache-jena/trunk/src/src/gs-triplestore-query @ 28466

Revision 28466, 362 bytes (checked in by davidb, 6 years ago)

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

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3if [ $# -eq 0 ] ; then
4  echo "Usage: $0 <sparql-query>"
5  exit 1
6fi
7
8#pushd "$GEXT_JENA_INSTALLED"
9
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
16s-query --service http://localhost:3030/greenstone/query "$*"
17
18
19#popd
Note: See TracBrowser for help on using the browser.