From 87c5316123f3a3afe34aca28f2691d91e1c687f6 Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Mon, 24 Feb 2020 16:59:07 -0300 Subject: [PATCH] Fixed build-mo-files not stopping on build errors --- qt/i18n/build-mo-files | 1 + qt/i18n/sync-po-git | 1 + qt/i18n/update-po-template | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qt/i18n/build-mo-files b/qt/i18n/build-mo-files index 4666a7e44..b51cfd8a3 100755 --- a/qt/i18n/build-mo-files +++ b/qt/i18n/build-mo-files @@ -2,6 +2,7 @@ # # build mo files # +set -e targetDir="../aqt_data/locale/gettext" mkdir -p $targetDir diff --git a/qt/i18n/sync-po-git b/qt/i18n/sync-po-git index 55c778d9f..b085d3113 100755 --- a/qt/i18n/sync-po-git +++ b/qt/i18n/sync-po-git @@ -1,4 +1,5 @@ #!/bin/bash +set -e # pull any pending changes from git repos ./pull-git diff --git a/qt/i18n/update-po-template b/qt/i18n/update-po-template index 34a223037..3c8323c4e 100755 --- a/qt/i18n/update-po-template +++ b/qt/i18n/update-po-template @@ -2,7 +2,7 @@ # # update template .pot file from source code strings # - +set -e topDir=$(dirname $0)/../.. cd $topDir