Last change
on this file since 28466 was 28466, checked in by davidb, 11 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
*
|
File size:
362 bytes
|
Rev | Line | |
---|
[28451] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | if [ $# -eq 0 ] ; then
|
---|
| 4 | echo "Usage: $0 <sparql-query>"
|
---|
| 5 | exit 1
|
---|
| 6 | fi
|
---|
| 7 |
|
---|
| 8 | #pushd "$GEXT_JENA_INSTALLED"
|
---|
| 9 |
|
---|
[28466] | 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 | #
|
---|
| 14 | export PATH=/usr/bin:$PATH
|
---|
| 15 |
|
---|
[28451] | 16 | s-query --service http://localhost:3030/greenstone/query "$*"
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | #popd
|
---|
Note:
See
TracBrowser
for help on using the repository browser.