Changeset 10527:ec46b532bca1 in orange


Ignore:
Timestamp:
03/14/12 14:35:13 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Children:
10528:26febe743732, 10570:77b10f404f3b
Message:

Redirect output to log files.

File:
1 edited

Legend:

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

    r10506 r10527  
    2424fi 
    2525 
     26SOURCE_LOG=/private/tmp/sources-daily-build.log 
    2627 
    2728# Build source packages 
    28 ./build-source.sh https://bitbucket.org/biolab/orange orange tip $WORK_DIR Orange 
    29 ./build-source.sh https://bitbucket.org/biolab/orange-addon-bioinformatics bioinformatics tip $WORK_DIR Orange-Bioinformatics 
    30 ./build-source.sh https://bitbucket.org/biolab/orange-addon-text text tip $WORK_DIR Orange-Text-Mining 
     29./build-source.sh https://bitbucket.org/biolab/orange orange tip $WORK_DIR Orange > $SOURCE_LOG 2>&1 
     30EXIT_VALUE1=$? 
     31./build-source.sh https://bitbucket.org/biolab/orange-addon-bioinformatics bioinformatics tip $WORK_DIR Orange-Bioinformatics >> $SOURCE_LOG 2>&1 
     32EXIT_VALUE2=$? 
     33./build-source.sh https://bitbucket.org/biolab/orange-addon-text text tip $WORK_DIR Orange-Text-Mining >> $SOURCE_LOG 2>&1 
     34EXIT_VALUE3=$? 
    3135 
     36echo "Orange (sources) [$EXIT_VALUE1 $EXIT_VALUE2 $EXIT_VALUE3]" > "/Volumes/download/buildLogs/osx/source-daily-build-hg.log" 
     37date >> "/Volumes/download/buildLogs/osx/source-daily-build-hg.log" 
     38cat $SOURCE_LOG > "/Volumes/download/buildLogs/osx/source-daily-build-hg.log" 
     39(($EXIT_VALUE1 + $EXIT_VALUE2 + $EXIT_VALUE3)) && echo "Daily sources failed" 
    3240 
    3341# Get versions from PKG-INFO files 
     
    103111FINK_TEMPLATES=$WORK_DIR/orange/install-scripts/mac/fink 
    104112 
     113FINK_LOG=/private/tmp/bundle-daily-build.log 
     114echo "" > $FINK_LOG 
     115 
    105116if [[ $NEW_ORANGE || $FORCE ]]; then 
    106117    FINK_ORANGE_SOURCE_TEMPLATE="Orange-%v.tar.gz" 
    107     ./fink-register-info.sh "$FINK_TEMPLATES/orange-gui-hg-py.info" $BASE_URL/$FINK_ORANGE_SOURCE_TEMPLATE $ORANGE_SOURCE_MD5 $ORANGE_VERSION $FINK_INFO_DIR/orange-gui-hg-py.info 
     118    ./fink-register-info.sh "$FINK_TEMPLATES/orange-gui-hg-py.info" $BASE_URL/$FINK_ORANGE_SOURCE_TEMPLATE $ORANGE_SOURCE_MD5 $ORANGE_VERSION $FINK_INFO_DIR/orange-gui-hg-py.info >> $FINK_LOG 2>&1 
    108119fi 
    109120 
    110121if [[ $NEW_BIOINFORMATICS || $FORCE ]]; then 
    111122    FINK_BIOINFORMATICS_SOURCE_TEMPLATE="Orange-Bioinformatics-%v.tar.gz" 
    112     ./fink-register-info.sh "$FINK_TEMPLATES/orange-bioinformatics-gui-hg-py.info" $BASE_URL/$FINK_BIOINFORMATICS_SOURCE_TEMPLATE $BIOINFORMATICS_SOURCE_MD5 $BIOINFORMATICS_VERSION $FINK_INFO_DIR/orange-bioinformatics-gui-hg-py.info 
     123    ./fink-register-info.sh "$FINK_TEMPLATES/orange-bioinformatics-gui-hg-py.info" $BASE_URL/$FINK_BIOINFORMATICS_SOURCE_TEMPLATE $BIOINFORMATICS_SOURCE_MD5 $BIOINFORMATICS_VERSION $FINK_INFO_DIR/orange-bioinformatics-gui-hg-py.info >> $FINK_LOG 2>&1 
    113124fi 
    114125 
    115126if [[ $NEW_TEXT || $FORCE ]]; then 
    116127    FINK_TEXT_SOURCE_TEMPLATE="Orange-Text-Mining-%v.tar.gz" 
    117     ./fink-register-info.sh "$FINK_TEMPLATES/orange-text-gui-hg-py.info" $BASE_URL/$FINK_TEXT_SOURCE_TEMPLATE $TEXT_SOURCE_MD5 $TEXT_VERSION $FINK_INFO_DIR/orange-text-gui-hg-py.info 
     128    ./fink-register-info.sh "$FINK_TEMPLATES/orange-text-gui-hg-py.info" $BASE_URL/$FINK_TEXT_SOURCE_TEMPLATE $TEXT_SOURCE_MD5 $TEXT_VERSION $FINK_INFO_DIR/orange-text-gui-hg-py.info >> $FINK_LOG 2>&1 
    118129fi 
    119130 
Note: See TracChangeset for help on using the changeset viewer.