# HG changeset patch # User Pascal Bellard # Date 1551166273 -3600 # Node ID 61b3b07955df46d4b75e68bd49f4b84569dc0d57 # Parent bc6ab9cf90108e93645999e0e998f3be2f9fdf72 Remove ashism == diff -r bc6ab9cf9010 -r 61b3b07955df chroot-scripts/tank-bot --- a/chroot-scripts/tank-bot Wed Mar 30 09:48:13 2016 +0200 +++ b/chroot-scripts/tank-bot Tue Feb 26 08:31:13 2019 +0100 @@ -11,8 +11,8 @@ LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}" cd $LOCAL_REPOSITORY/flavors if [ ! -d .hg ]; then - [ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors . - [ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable . + [ "$SLITAZ_VERSION" = "cooking" ] && hg clone http://hg.slitaz.org/flavors . + [ "$SLITAZ_VERSION" = "stable" ] && hg clone http://hg.slitaz.org/flavors-stable . else hg pull -u fi diff -r bc6ab9cf9010 -r 61b3b07955df tazwok --- a/tazwok Wed Mar 30 09:48:13 2016 +0200 +++ b/tazwok Tue Feb 26 08:31:13 2019 +0100 @@ -279,7 +279,7 @@ if [ ! -d "$WOK/$WANTED/taz" ]; then echo -e "\n\nSource files of wanted package is missing in the work directory." echo -n "Would you like to build the missing package (y/N) ? " ; read anser - if [ "$anser" == "y" ]; then + if [ "$anser" = "y" ]; then tazwok cook $WANTED else report exit "\nWanted package source tree is missing in the work directory.\n" @@ -2596,7 +2596,7 @@ do [ ! -f $pkg/receipt ] && continue . $pkg/receipt - if [ "$CATEGORY" == "$ASKED_CATEGORY" ]; then + if [ "$CATEGORY" = "$ASKED_CATEGORY" ]; then echo -n "$PACKAGE" echo -e "\033[28G $VERSION" packages=$(($packages+1))