Last change
on this file since 30251 was 30251, checked in by jmt12, 9 years ago |
Split the list of src directories to be compiled in Greenstone2 and Greenstone3 specific, and only compile the latter if we are in Greenstone3
|
-
Property svn:executable
set to
*
|
File size:
535 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | list="" #TDBDEL TDBGET TDBKEYS TDBSET TXT2TDB TDB2TXT TDBCLI
|
---|
4 | gs3list="JNI TDBJAVA"
|
---|
5 |
|
---|
6 | for d in $list ; do
|
---|
7 | echo " Running CASCADE-MAKE/$d.sh $*"
|
---|
8 |
|
---|
9 | ./CASCADE-MAKE/$d.sh $*
|
---|
10 |
|
---|
11 | if [ $? != 0 ] ; then
|
---|
12 | echo " Error encountered running CASCADE-MAKE/$d.sh"
|
---|
13 | exit 1
|
---|
14 | fi
|
---|
15 | done
|
---|
16 |
|
---|
17 | if [ "${GSDL3HOME}x" != "x" ] ; then
|
---|
18 | for d in $gs3list ; do
|
---|
19 | echo " Running CASCADE-MAKE/$d.sh $*"
|
---|
20 |
|
---|
21 | ./CASCADE-MAKE/$d.sh $*
|
---|
22 |
|
---|
23 | if [ $? != 0 ] ; then
|
---|
24 | echo " Error encountered running CASCADE-MAKE/$d.sh"
|
---|
25 | exit 1
|
---|
26 | fi
|
---|
27 | done
|
---|
28 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.