diff --git a/scripts/02-economia.sh b/scripts/02-economia.sh index b88b5be..a7595e4 100755 --- a/scripts/02-economia.sh +++ b/scripts/02-economia.sh @@ -9,7 +9,7 @@ elif [ "$(curl -s -I https://www.dgae.gov.pt/gestao-de-ficheiros-externos-dgae-a fail=1; fi -if [ ! "$fail" ]; then +if [ "$fail" = 0 ]; then echo "economia: incumprimento pode já não existir"; else echo "economia: Incumprimento mantém-se, a actualizar o README (faça um git diff, valide, e commit!)"; diff --git a/scripts/32-dgt.sh b/scripts/32-dgt.sh index 53967c6..db7cd23 100755 --- a/scripts/32-dgt.sh +++ b/scripts/32-dgt.sh @@ -23,7 +23,7 @@ else fi fi -if [ ! "$fail" ]; then +if [ "$fail" = 0 ]; then echo "dgt: algo mudou (nlinks $nlinks, xls $xls), incumprimento potencialmente resolvido (verificar manualmente!)"; else echo "dgt: Incumprimento mantém-se, a actualizar o README (faça um git diff, valide, e commit!)"; diff --git a/scripts/49-imt.sh b/scripts/49-imt.sh index dbbd306..7fbdacd 100644 --- a/scripts/49-imt.sh +++ b/scripts/49-imt.sh @@ -6,7 +6,7 @@ if [ "$(curl https://www.imt-ip.pt/sites/IMTT/Portugues/Formularios/Documents/Mo fail=1; fi -if [ ! "$fail" ]; then +if [ "$fail" = 0 ]; then echo "imt: incumprimento pode já não existir"; else echo "imt: Incumprimento mantém-se, a actualizar o README (faça um git diff, valide, e commit!)";