Last change
on this file since 30219 was 25154, checked in by papitha, 12 years ago |
Setup files so GSDLEXT is set appropriately.
|
File size:
567 bytes
|
Line | |
---|
1 |
|
---|
2 | extdesc="the Ngram-Java Extension"
|
---|
3 |
|
---|
4 | full_setup=`pwd`/${BASH_SOURCE}
|
---|
5 | fulldir=${full_setup%/*}
|
---|
6 | fulldir=${fulldir%/.}
|
---|
7 |
|
---|
8 | if [ "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"
|
---|
23 | else
|
---|
24 | echo "+Your environment is already setup for $extdesc"
|
---|
25 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.