source: gs2-extensions/subversion/trunk/src/setup.bash@ 23043

Last change on this file since 23043 was 23043, checked in by sjm84, 13 years ago

Adding the content for the subversion extension

File size: 904 bytes
Line 
1extdesc="the Subversion"
2
3full_setup=`pwd`/${BASH_SOURCE}
4fulldir=${full_setup%/*}
5fulldir=${fulldir%/.}
6
7source cascade-make/lib/cascade-lib.bash
8
9if [ "x$GEXTSVN" = "x" ] ; then
10 export GEXTSVN=$fulldir
11 export GEXTSVN_INSTALLED=$GEXTSVN/$GSDLOS
12
13 export PATH=$GEXTSVN_INSTALLED/bin:$PATH
14
15 if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
16 export LD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib
17 else
18 export LD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib:$LD_LIBRARY_PATH
19 fi
20 if [ "x$DYLD_LIBRARY_PATH" = "x" ] ; then
21 export DYLD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib
22 else
23 export DYLD_LIBRARY_PATH=$GEXTSVN_INSTALLED/lib:$DYLD_LIBRARY_PATH
24 fi
25
26 extdir=${GEXTSVN##*/}
27
28 if [ "x$GSDLEXTS" = "x" ] ; then
29 export GSDLEXTS=$extdir
30 else
31 export GSDLEXTS=$GSDLEXTS:$extdir
32 fi
33
34
35 echo "+Your environment is now setup for $extdesc"
36else
37 echo "+Your environment is already setup for $extdesc"
38fi
Note: See TracBrowser for help on using the repository browser.