source: other-projects/rsyntax-textarea/devel.bash@ 25584

Last change on this file since 25584 was 25584, checked in by davidb, 9 years ago

Initial cut an a text edit area for GLI that supports color syntax highlighting

File size: 1.2 KB
Line 
1
2extdesc="the Developer's RSyntax Text Area Extension"
3
4full_setup=`pwd`/${BASH_SOURCE}
5fulldir=${full_setup%/*}
6fulldir=${fulldir%/.}
7
8##source cascade-make/lib/cascade-lib.bash
9
10if [ "x$GEXTRSYNTAX" = "x" ] ; then
11 export GEXTRSYNTAX=$fulldir
12 export GEXTRSYNTAX_INSTALLED=$GEXTRSYNTAX/$GSDLOS
13
14# export PATH=$GEXTRSYNTAX_INSTALLED/bin:$PATH
15
16 export PATH=$GEXTRSYNTAX/bin/script:$PATH
17
18# if [ "x$LD_LIBRARY_PATH" = "x" ] ; then
19# export LD_LIBRARY_PATH=$GEXTRSYNTAX_INSTALLED/lib
20# else
21# export LD_LIBRARY_PATH=$GEXTRSYNTAX_INSTALLED/lib:$LD_LIBRARY_PATH
22# fi
23# if [ "x$DYLD_LIBRARY_PATH" = "x" ] ; then
24# export DYLD_LIBRARY_PATH=$GEXTRSYNTAX_INSTALLED/lib
25# else
26# export DYLD_LIBRARY_PATH=$GEXTRSYNTAX_INSTALLED/lib:$DYLD_LIBRARY_PATH
27# fi
28
29# if [ -e "devel-srcpack" ] ; then
30# export LD_LIBRARY_PATH=$GEXTRSYNTAX_INSTALLED/devel/lib:$LD_LIBRARY_PATH
31# export DYLD_LIBRARY_PATH=$GEXTRSYNTAX_INSTALLED/devel/lib:$DYLD_LIBRARY_PATH
32# fi
33
34
35 extdir=${GEXTRSYNTAX##*/}
36
37 if [ "x$GSDLEXTS" = "x" ] ; then
38 export GSDLEXTS=$extdir
39 else
40 export GSDLEXTS=$GSDLEXTS:$extdir
41 fi
42
43
44 echo "+Your environment is now setup for $extdesc"
45else
46 echo "+Your environment is already setup for $extdesc"
47fi
Note: See TracBrowser for help on using the repository browser.