source: gs2-extensions/ngramj/setup.bash@ 25155

Last change on this file since 25155 was 25154, checked in by papitha, 9 years ago

Setup files so GSDLEXT is set appropriately.

File size: 567 bytes
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 repository browser.