Ignore:
Timestamp:
2023-10-03T15:46:28+13:00 (8 months ago)
Author:
davidb
Message:

Updated to work as a GS3 extension without the need for Ruby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/jena-fuseki/trunk/src/src3/gs-triplestore-dataset-create3

    r37274 r38274  
    1111port=${FUSEKI3_PORT:-8383}
    1212
    13 # The following line helps with runing a she-bang line of:
    14 #   '#!/usr/bin/env ruby'
    15 # when the current script has been run from Perl under Cygwin
    16 #
    17 export PATH=/usr/bin:$PATH
     13## The following line helps with runing a she-bang line of:
     14##   '#!/usr/bin/env ruby'
     15## when the current script has been run from Perl under Cygwin
     16##
     17#export PATH=/usr/bin:$PATH
    1818
    1919
    20 wget -O - --post-data="dbName=${dataset_name}&dbType=${dataset_type}" "http://localhost:$port/fuseki3/$/datasets"
     20#wget -O - --post-data="dbName=${dataset_name}&dbType=${dataset_type}" "http://localhost:$port/fuseki3/$/datasets"
     21
     22curl --silent -X POST \
     23     -H "Content-Type: application/x-www-form-urlencoded" \
     24     -d "dbName=${dataset_name}&dbType=${dataset_type}" \
     25     "http://localhost:$port/fuseki3/\$/datasets" 1>/dev/null
Note: See TracChangeset for help on using the changeset viewer.