Last change
on this file since 23075 was 23075, checked in by sjm84, 13 years ago |
Extension setup.bash files should no longer source cascade-lib.bash. This should be done in devel.bash files instead
|
File size:
1015 bytes
|
Line | |
---|
1 | extdesc="the Subversion"
|
---|
2 |
|
---|
3 | full_setup=`pwd`/${BASH_SOURCE}
|
---|
4 | fulldir=${full_setup%/*}
|
---|
5 | fulldir=${fulldir%/.}
|
---|
6 |
|
---|
7 | if [ "x$GSDLHOME" = "x" ] ; then
|
---|
8 | if [ -e ../../setup.bash ] ; then
|
---|
9 | ( gsopt_noext=1 && cd ../.. && source setup.bash )
|
---|
10 | fi
|
---|
11 | fi
|
---|
12 |
|
---|
13 | if [ "x$GEXTSVN" = "x" ] ; then
|
---|
14 | export GEXTSVN=$fulldir
|
---|
15 | export GEXTSVN_INSTALLED=$GEXTSVN/$GSDLOS
|
---|
16 |
|
---|
17 | export PATH=$GEXTSVN_INSTALLED/bin:$PATH
|
---|
18 |
|
---|
19 | if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
|
---|
20 | export LD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib
|
---|
21 | else
|
---|
22 | export LD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib:$LD_LIBRARY_PATH
|
---|
23 | fi
|
---|
24 | if [ "x$DYLD_LIBRARY_PATH" = "x" ] ; then
|
---|
25 | export DYLD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib
|
---|
26 | else
|
---|
27 | export DYLD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib:$DYLD_LIBRARY_PATH
|
---|
28 | fi
|
---|
29 |
|
---|
30 | extdir=${GEXTSVN##*/}
|
---|
31 |
|
---|
32 | if [ "x$GSDLEXTS" = "x" ] ; then
|
---|
33 | export GSDLEXTS=$extdir
|
---|
34 | else
|
---|
35 | export GSDLEXTS=$GSDLEXTS:$extdir
|
---|
36 | fi
|
---|
37 |
|
---|
38 |
|
---|
39 | echo "+Your environment is now setup for $extdesc extension"
|
---|
40 | else
|
---|
41 | echo "+Your environment is already setup for $extdesc extension"
|
---|
42 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.