tazwok diff chroot-scripts/tank-bot @ rev 538

tazwok: Add $KBASEVER so if its set it will replace $VERSION. This fixes source version tarball name when using linux-patch $VERSION.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jun 15 15:27:05 2011 +0000 (2011-06-15)
parents d16b2ca09546
children 61b3b07955df
line diff
     1.1 --- a/chroot-scripts/tank-bot	Tue Feb 22 12:40:57 2011 +0100
     1.2 +++ b/chroot-scripts/tank-bot	Wed Jun 15 15:27:05 2011 +0000
     1.3 @@ -10,7 +10,12 @@
     1.4  . /etc/slitaz/tazwok.conf
     1.5  LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
     1.6  cd $LOCAL_REPOSITORY/flavors
     1.7 -hg pull -u
     1.8 +if [ ! -d .hg ]; then
     1.9 +	[ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors .
    1.10 +	[ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable .
    1.11 +else
    1.12 +	hg pull -u
    1.13 +fi
    1.14  clean-chroot
    1.15  
    1.16  tazwok cook-commit --missing