Skip to content

Commit

Permalink
Merge pull request #554 from Cognifide/bugfix/551-fix-failure-under-m…
Browse files Browse the repository at this point in the history
…ingw

Fix race condition under non-native bash environments
  • Loading branch information
tMaxx authored May 18, 2020
2 parents 7749f56 + be41095 commit ab49f46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions client/client-scripts/aet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -197,4 +197,4 @@ while $process_status; do
$body"
exit 1
fi
done
done

0 comments on commit ab49f46

Please sign in to comment.