Ignore:
Timestamp:
04/02/12 10:30:45 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
cf50a6f318712dad92a9bfd87d832f7abd6f7026
Message:

Fixes for daily build scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/dailyrun.sh

    r10625 r10702  
    1 #!/bin/bash -e 
     1#!/bin/bash 
    22# 
    33# Should be run as: sudo ./dailyrun.sh 
     
    131131fi 
    132132 
     133# Remove any old remaining local .info files 
     134rm -f $FINK_INFO_DIR/orange-*.info 
     135 
    133136# Directory where fink .info templates are 
    134137FINK_TEMPLATES=$WORK_DIR/orange/install-scripts/mac/fink 
     
    140143    FINK_ORANGE_SOURCE_TEMPLATE="Orange-%v.tar.gz" 
    141144    ./fink-register-info.sh "$FINK_TEMPLATES/orange-gui-dev-py.info" $BASE_URL/$FINK_ORANGE_SOURCE_TEMPLATE $ORANGE_SOURCE_MD5 $ORANGE_VERSION $FINK_INFO_DIR/orange-gui-dev-py.info >> $FINK_LOG 2>&1 
     145    FINK_ORANGE_INFO_EXIT_VALUE=$? 
    142146fi 
    143147 
     
    145149    FINK_BIOINFORMATICS_SOURCE_TEMPLATE="Orange-Bioinformatics-%v.tar.gz" 
    146150    ./fink-register-info.sh "$FINK_TEMPLATES/orange-bioinformatics-gui-dev-py.info" $BASE_URL/$FINK_BIOINFORMATICS_SOURCE_TEMPLATE $BIOINFORMATICS_SOURCE_MD5 $BIOINFORMATICS_VERSION $FINK_INFO_DIR/orange-bioinformatics-gui-dev-py.info >> $FINK_LOG 2>&1 
     151    FINK_BIOINFORMATICS_INFO_EXIT_VALUE=$? 
    147152fi 
    148153 
     
    150155    FINK_TEXT_SOURCE_TEMPLATE="Orange-Text-Mining-%v.tar.gz" 
    151156    ./fink-register-info.sh "$FINK_TEMPLATES/orange-text-gui-dev-py.info" $BASE_URL/$FINK_TEXT_SOURCE_TEMPLATE $TEXT_SOURCE_MD5 $TEXT_VERSION $FINK_INFO_DIR/orange-text-gui-dev-py.info >> $FINK_LOG 2>&1 
     157    FINK_TEXT_INFO_EXIT_VALUE=$? 
    152158fi 
    153159 
     
    156162fi 
    157163 
     164EXIT_VALUE=$(($FINK_ORANGE_INFO_EXIT_VALUE + $FINK_BIOINFORMATICS_INFO_EXIT_VALUE + $FINK_TEXT_INFO_EXIT_VALUE)) 
     165if (($EXIT_VALUE)); then 
     166    echo "Running fink-register-info.sh failed" 
     167    rm -f $FINK_INFO_DIR/orange-*.info 
     168fi 
    158169 
    159170## daily fink build 
Note: See TracChangeset for help on using the changeset viewer.