From 97da32f08a38f347b56d0c6a73aed9c6d7b7b299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Wawrowski?= Date: Mon, 18 May 2020 13:34:49 +0200 Subject: [PATCH 1/2] Fix race condition under non-native bash environments Fixes #551 --- client/client-scripts/aet.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/client-scripts/aet.sh b/client/client-scripts/aet.sh index 0607705aa..3eb49f457 100755 --- a/client/client-scripts/aet.sh +++ b/client/client-scripts/aet.sh @@ -169,8 +169,8 @@ while $process_status; do extract_code_and_body "$status_response" if [ $code -eq 200 ]; then - status=$(echo $body | jq -r ".status") - message=$(echo $body | jq -r ".message") + status=$(echo "$body" | jq -r ".status") + message=$(echo "$body" | jq -r ".message") case "$status" in "FINISHED") @@ -197,4 +197,4 @@ while $process_status; do $body" exit 1 fi -done \ No newline at end of file +done From be410954102e62ea5a46b995ac7da9ba2bd4bbdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Wawrowski?= Date: Mon, 18 May 2020 13:56:49 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ccb3b3d4..685dfddda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to AET will be documented in this file. **List of changes that are finished but not yet released in any final version.** - [PR-522](https://github.com/Cognifide/aet/pull/522) Improve performance of generating /configs/list. ([#519](https://github.com/Cognifide/aet/issues/519)) +- [PR-554](https://github.com/Cognifide/aet/pull/554) Fix race condition under non-native bash environments ([#551](https://github.com/Cognifide/aet/issues/551)) ## Version 3.3.0