root/gs2-extensions/apache-jena/trunk/src/src/CASCADE-MAKE.sh @ 28419

Revision 28419, 0.6 KB (checked in by davidb, 6 years ago)

Useful wrapper script to get things going for Greenstone

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXT_JENA .. $*
4
5
6if [ $install = "1"  ] ; then
7
8  echo "===="
9  echo "= Installing GS Triplestore Wrapper scripts"
10  echo "===="
11
12  triple_store="$GEXT_JENA_INSTALLED/etc/tdb-triple-store"
13  if [ ! -d "$triple_store" ] ; then
14    echo "= Creating empty triple-store: $triple_store"
15    mkdir "$triple_store"
16  fi
17
18  echo "= Installing server-side scripts"
19  /bin/cp gs-triplestore-server* $GEXT_JENA_INSTALLED/bin/script/.
20  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/gs-tripplestore-server*
21
22  echo "===="
23  echo ""
24
25fi
Note: See TracBrowser for help on using the browser.