root/gs2-extensions/tdb/trunk/src/CASCADE-MAKE.sh @ 30251

Revision 30251, 0.5 KB (checked in by jmt12, 4 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 *
Line 
1#!/bin/bash
2
3list="" #TDBDEL TDBGET TDBKEYS TDBSET TXT2TDB TDB2TXT TDBCLI
4gs3list="JNI TDBJAVA"
5
6for 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
15done
16
17if [ "${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
28fi
Note: See TracBrowser for help on using the browser.