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

Last change on this file since 27292 was 27292, checked in by davidb, 8 years ago

Comparable file to 'gs3-setup.sh' but for people looking to compile up code from source. Provided as a convenience function for when working wiht greenstone extensions

  • Property svn:executable set to *
File size: 792 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 ""
Note: See TracBrowser for help on using the repository browser.