Ignore:
Timestamp:
04/12/12 19:00:54 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Packaging scripts fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/bundle-daily-build-hg.sh

    r10788 r10789  
    3636    perl -e 'unlink ((reverse sort </Volumes/download/orange-bundle-hg-0*.dmg>)[5..10000])' 
    3737 
     38    MD5=`md5 -q $BUNDLE` 
     39     
    3840    echo "Moving bundle to the download directory." 
    3941    mv $BUNDLE /Volumes/download/orange-bundle-hg-0.0.$DAILY_REVISION.dmg 
     
    4345 
    4446    # Check integrity  
    45     MD5=`md5 -q /Volumes/download/orange-bundle-hg-0.0.$DAILY_REVISION.dmg` 
    46     if [[ $MD5 != `md5 -q $BUNDLE` ]]; then 
     47    MD5_D=`md5 -q /Volumes/download/orange-bundle-hg-0.0.$DAILY_REVISION.dmg` 
     48    if [[ $MD5 != $MD5_D ]]; then 
    4749        echo "Error moving the bundle in place" 
    4850        rm /Volumes/download/orange-bundle-hg-0.0.$DAILY_REVISION.dmg 
Note: See TracChangeset for help on using the changeset viewer.