source: main/trunk/greenstone3/gs3-devel.sh@ 28900

Last change on this file since 28900 was 28900, checked in by kjdon, 7 years ago

added a devel folder for developer tools. Added bin/script folder in there. gs3-devel.sh now adds that to PATH. I am going to put some useful scripts in there

  • Property svn:executable set to *
File size: 884 bytes
Line 
1# if this file is executed, /bin/sh is used, as we don't start with #!
2# this should work under ash, bash, zsh, ksh, sh style shells.
3
4source ./gs3-setup.sh
5
6
7if test -e gs2build/devel.bash ; then
8 echo ""
9 echo "Sourcing gs2build/devel.bash"
10 cd gs2build ; source ./devel.bash ; cd ..
11fi
12
13
14if test "x$gsopt_noexts" != "x1" ; then
15 if test -e ext ; then
16 for gsdl_ext in ext/* ; do
17 if [ -d $gsdl_ext ] ; then
18 cd $gsdl_ext > /dev/null
19 if test -e gs3-devel.sh ; then
20 source ./gs3-devel.sh
21 elif test -e devel.bash ; then
22 source ./devel.bash
23 fi
24 cd ../..
25 fi
26 done
27 fi
28fi
29
30if test -e local ; then
31 if test -e local/gs3-devel.sh ; then
32 echo ""
33 echo "Sourcing local/gs3-devel.sh"
34 cd local ; source gs3-devel.sh ; cd ..
35 fi
36fi
37
38echo "Adding devel/bin/script to PATH"
39
40export PATH=$PATH:"$GSDL3SRCHOME/devel/bin/script"
41
42echo ""
Note: See TracBrowser for help on using the repository browser.