Ignore:
Timestamp:
Oct 2, 2008, 5:51:33 PM (16 years ago)
Author:
joergs
Message:

trying to avoid new version for the build server, when nothing has changed. Unfortunally, transfering data to the build server (tar.bz2) changes the file, resulting in a new commit every time the script is called.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/technical/common/build/svn_build_prepare.sh

    r721 r723  
    5959        if [ $SVN_BUILD_MODIFIED -gt 0 ]; then 
    6060            SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}m
     61            REBUILD="yes"
    6162        elif [ $SVN_LAST_MODIFICATION -ne $SVN_BUILD_RELEASE ]; then
    6263            SVN_BUILD_RELEASE=${SVN_BUILD_RELEASE}p
     64            REBUILD="yes"
    6365        else # check if RPM has been build already
    6466            # TODO: this chekc is broken for OpenSUSE build service,
     
    113115    if [ -r "SOURCES" ]; then
    114116        # create a tar file from the sources
     117        printf "creating $PACKAGE-$VERSION.tar.bz2:\n"
    115118        tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES --exclude .svn --exclude "*~"
    116119   
Note: See TracChangeset for help on using the changeset viewer.