root/gs2-extensions/ngramj/setup.bash @ 28781

Revision 25154, 0.6 KB (checked in by papitha, 8 years ago)

Setup files so GSDLEXT is set appropriately.

Line 
1
2extdesc="the Ngram-Java Extension"
3
4full_setup=`pwd`/${BASH_SOURCE}
5fulldir=${full_setup%/*}
6fulldir=${fulldir%/.}
7
8if [ "x$GEXTNGRAMJ" = "x" ] ; then
9  export GEXTNGRAMJ=$fulldir
10  export GEXTNGRAMJ_INSTALLED=$GEXTNGRAMJ/$GSDLOS
11
12  export PATH=$GEXTNGRAMJ_INSTALLED/bin:$PATH
13 
14  extdir=${GEXTNGRAMJ##*/}
15
16  if [ "x$GSDLEXTS" = "x" ] ; then
17    export GSDLEXTS=$extdir
18  else
19    export GSDLEXTS=$GSDLEXTS:$extdir
20  fi
21
22  echo "+Your environment is now setup for $extdesc"
23else
24  echo "+Your environment is already setup for $extdesc"
25fi
Note: See TracBrowser for help on using the browser.