Changeset 07ead96 for builder


Ignore:
Timestamp:
09/26/17 16:36:24 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
a35989d
Parents:
2758a4b (diff), 5fedc40 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'gcc484'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder/runrooted

    r2758a4b r07ead96  
    229229mv $WORKDIR/*.version $DIR || exit 1
    230230
    231 #copy check if pkg file is different and update build number when needed
     231#move packages from buildroot to workdir
    232232for PKG in $WORKDIR/*.pkg; do
    233233        NAME=`basename $PKG|sed 's/.pkg$//g'`
    234234        if ! cmp $PKG $DIR/$NAME.pkg; then
    235                 BUILD=`cat $DIR/$NAME.build 2>/dev/null`
    236                 if [ "$BUILD" == "" ]; then
    237                         BUILD=1
    238                 else
    239                         (( BUILD=BUILD+1 ))
    240                 fi
    241                 echo "$PKG was rebuilded, build $BUILD"
    242235                mv $PKG $DIR || exit 1
    243                 echo $BUILD > $DIR/$NAME.build || exit 1
    244236        fi
    245237done
Note: See TracChangeset for help on using the changeset viewer.