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

Last change on this file since 25684 was 25684, checked in by davidb, 12 years ago

Improved reporting of what processing was undertaken, and other adjustments to make the scripts work on Cygwin under Windows

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