tazwok rev 453 4.3
tazwok, check_env_status(): fix a bug which prevent to cook-toolchain
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 23:02:45 2011 +0100 (2011-03-15) |
parents | 954023be2d07 |
children | c9d6a554c154 |
files | tazwok |
line diff
1.1 --- a/tazwok Tue Mar 15 06:43:10 2011 +0100 1.2 +++ b/tazwok Tue Mar 15 23:02:45 2011 +0100 1.3 @@ -87,8 +87,9 @@ 1.4 # Check if all packages are up to date into build environnement 1.5 check_env_status() 1.6 { 1.7 - { [ "${COMMAND#cook}" = "$COMMAND" ] || \ 1.8 - [ "$COMMAND" = cook-toolchain ] ; } && return 1.9 + { [ "${COMMAND#cook}" = "$COMMAND" ] || 1.10 + [ "$COMMAND" = cook-toolchain ] || 1.11 + [ -f /etc/config.site.tmptoolchain ]; } && return 1.12 MIRROR_path=$(grep -l "^$1$" $LOCALSTATE/mirror $LOCALSTATE/undigest/*/mirror) 1.13 1.14 if [ ! "$MIRROR_path" ]; then