source: gs3-installations/eurovision-lod/trunk/sites/eurovision/collect/eurovision/_local_collect_config.sh.in@ 37262

Last change on this file since 37262 was 36767, checked in by davidb, 20 months ago

To bring it in line with README file

File size: 807 bytes
Line 
1
2cwd=`pwd`
3
4col=${cwd##*/}
5
6site_with_subdirs=${cwd##*/sites/}
7site=${site_with_subdirs%%/*}
8
9#
10# For *command-line* *building*, can talk to the library over *localhost*,
11# even if the DL collection proxied through another web server to make it
12# publically available to end-users (i.e. accessed via a web browser)
13#
14library_url="http://localhost:8383/greenstone3/$site-library"
15
16#
17# Edit transform/layouts/header.xsl to control this value
18#
19sparqlGraphBasePrefix=`fgrep FULL_GREENSTONE_URL_PREFIX transform/layouts/header.xsl | sed 's/<[^>]*>//g' | sed 's/\s\+//g'`
20
21if [ $? = 0 ] ; then
22 export FULL_GREENSTONE_URL_PREFIX="$sparqlGraphBasePrefix/greenstone3/$site-library"
23 echo "Setting environment variable:"
24 echo " FULL_GREENSTONE_URL_PREFIX=\"$FULL_GREENSTONE_URL_PREFIX\""
25 echo ""
26fi
27
Note: See TracBrowser for help on using the repository browser.