Ignore:
Timestamp:
04/11/12 21:15:22 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
2a7fe1765a1e97b2cfc4758a87872340a9fa25bc
Message:

Build orangeqt for macosx bundle.

File:
1 edited

Legend:

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

    r10486 r10782  
    2626CLONE_FULLPATH=${WORK_DIR}/${CLONE_NAME} 
    2727 
    28 # Path to the local archived source. This is where the building  
    29 # will actually take place to prevent the polution of the repo 
    30 CLONE_ARCHIVE_NAME=${CLONE_NAME}_archive 
    31 CLONE_ARCHIVE_FULLPATH=${WORK_DIR}/${CLONE_ARCHIVE_NAME} 
    32   
    33  
    3428if [ ! -e $CLONE_FULLPATH ]; then 
    3529    echo "Cloning $REPO to $CLONE_FULLPATH" 
     
    4539fi 
    4640 
    47 # Remove old archive if it exists 
    48 if [ -e $CLONE_ARCHIVE_FULLPATH ]; then 
    49     echo "Removing old archive at $CLONE_ARCHIVE_FULLPATH" 
    50     rm -rf $CLONE_ARCHIVE_FULLPATH 
    51 fi 
    52  
    53 # Create an archive 
    54 echo "Creating archive $CLONE_ARCHIVE_FULLPATH" 
    55  
    56 hg clone -r $REVISION $CLONE_FULLPATH $CLONE_ARCHIVE_FULLPATH  
    57  
    58 cd $CLONE_ARCHIVE_FULLPATH 
     41cd $CLONE_FULLPATH 
    5942 
    6043# Run installation 
     
    6447# Clean up the archive 
    6548cd $WORK_DIR 
    66 echo "Cleaning up the archive at $CLONE_ARCHIVE_FULLPATH" 
    67 rm -rf $CLONE_ARCHIVE_FULLPATH 
    6849 
    6950true 
Note: See TracChangeset for help on using the changeset viewer.