Last change
on this file since 29430 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:
440 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ $# -ne 2 ] ; then
|
---|
4 | echo "Usage: $0 collect-name ttl-file" >&2
|
---|
5 | exit 1
|
---|
6 | fi
|
---|
7 |
|
---|
8 | graph_name=$1 # triplestore server setup to also add to 'default' graph automatically
|
---|
9 | file_ttl=$2
|
---|
10 |
|
---|
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 | #
|
---|
15 | export PATH=/usr/bin:$PATH
|
---|
16 |
|
---|
17 | s-post http://localhost:3030/greenstone/data $graph_name "$file_ttl"
|
---|
18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.