tazwok rev 558
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:31:13 2019 +0100 (2019-02-26) |
parents | bc6ab9cf9010 |
children | 4e53898ed66c |
files | chroot-scripts/tank-bot tazwok |
line diff
1.1 --- a/chroot-scripts/tank-bot Wed Mar 30 09:48:13 2016 +0200 1.2 +++ b/chroot-scripts/tank-bot Tue Feb 26 08:31:13 2019 +0100 1.3 @@ -11,8 +11,8 @@ 1.4 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}" 1.5 cd $LOCAL_REPOSITORY/flavors 1.6 if [ ! -d .hg ]; then 1.7 - [ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors . 1.8 - [ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable . 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
2.1 --- a/tazwok Wed Mar 30 09:48:13 2016 +0200 2.2 +++ b/tazwok Tue Feb 26 08:31:13 2019 +0100 2.3 @@ -279,7 +279,7 @@ 2.4 if [ ! -d "$WOK/$WANTED/taz" ]; then 2.5 echo -e "\n\nSource files of wanted package is missing in the work directory." 2.6 echo -n "Would you like to build the missing package (y/N) ? " ; read anser 2.7 - if [ "$anser" == "y" ]; then 2.8 + if [ "$anser" = "y" ]; then 2.9 tazwok cook $WANTED 2.10 else 2.11 report exit "\nWanted package source tree is missing in the work directory.\n" 2.12 @@ -2596,7 +2596,7 @@ 2.13 do 2.14 [ ! -f $pkg/receipt ] && continue 2.15 . $pkg/receipt 2.16 - if [ "$CATEGORY" == "$ASKED_CATEGORY" ]; then 2.17 + if [ "$CATEGORY" = "$ASKED_CATEGORY" ]; then 2.18 echo -n "$PACKAGE" 2.19 echo -e "\033[28G $VERSION" 2.20 packages=$(($packages+1))