From 6c2850b8111b7797e6dde3a35224ca3c8624d6b6 Mon Sep 17 00:00:00 2001 From: Alpha Date: Fri, 22 Sep 2017 19:24:00 +0100 Subject: [PATCH] Added files for the portuguese translation --- site/build/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site/build/build.sh b/site/build/build.sh index ba397b5..f81e8ba 100755 --- a/site/build/build.sh +++ b/site/build/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # Put all available languages here, except "en". Separated by spaces -TRANSLATIONS="ca de el es fr it nl tr zh_tw" +TRANSLATIONS="ca de el es fr it nl pt tr zh_tw" basedir="${0%/*}/.." cd "$basedir" @@ -25,18 +25,18 @@ else hugo status=$? - + (( tries++ )) - + if [[ $status != 0 && $tries -le 2 ]]; then echo "Build error with exit status $status on try $tries. Try again now" elif [[ $status != 0 && $tries -gt 2 ]]; then echo "Build failed 3 times in a row. Don't try again." exit 1 fi - + done - + ## After successfully building the website, we set the AWS credentials and uplodad ## everything to our AWS s3 bucket. ##