Changeset 30251 for gs2-extensions/tdb

Show
Ignore:
Timestamp:
21.09.2015 10:19:57 (4 years ago)
Author:
jmt12
Message:

Split the list of src directories to be compiled in Greenstone2 and Greenstone3 specific, and only compile the latter if we are in Greenstone3

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/tdb/trunk/src/CASCADE-MAKE.sh

    r25409 r30251  
    11#!/bin/bash 
    22 
    3 list="TDB2TXT TDBDEL TDBGET TDBKEYS TDBSET TXT2TDB TDBCLI" 
     3list="" #TDBDEL TDBGET TDBKEYS TDBSET TXT2TDB TDB2TXT TDBCLI 
     4gs3list="JNI TDBJAVA" 
    45 
    56for d in $list ; do 
     
    1314  fi 
    1415done 
     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