tazwok annotate chroot-scripts/tank-bot @ rev 558

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:31:13 2019 +0100 (2019-02-26)
parents 0dafc6cafa19
children
rev   line source
gokhlayeh@315 1 #!/bin/sh
gokhlayeh@315 2 # Automate common management tasks.
gokhlayeh@315 3
gokhlayeh@315 4 # Update repositories
pankso@336 5 if [ ! -d /var/lib/tazpkg/installed/mercurial ]; then
pankso@336 6 tazpkg get-install mercurial
pankso@336 7 fi
gokhlayeh@315 8 tazwok update-wok
pankso@336 9 . /etc/slitaz/slitaz.conf
pankso@336 10 . /etc/slitaz/tazwok.conf
pankso@319 11 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
gokhlayeh@315 12 cd $LOCAL_REPOSITORY/flavors
slaxemulator@498 13 if [ ! -d .hg ]; then
pascal@558 14 [ "$SLITAZ_VERSION" = "cooking" ] && hg clone http://hg.slitaz.org/flavors .
pascal@558 15 [ "$SLITAZ_VERSION" = "stable" ] && hg clone http://hg.slitaz.org/flavors-stable .
slaxemulator@498 16 else
slaxemulator@498 17 hg pull -u
slaxemulator@498 18 fi
gokhlayeh@315 19 clean-chroot
gokhlayeh@315 20
gokhlayeh@315 21 tazwok cook-commit --missing
gokhlayeh@315 22 tazwok check-incoming