Posix shell compliance

Posix shell does not do ==,  it only does one =
pull/146/head
Paul Pacheco 2021-09-25 13:52:02 -05:00 committed by GitHub
parent 171267b24e
commit bccc7cb02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ ls -alh $UNITY_PROJECT_PATH
# #
EDIT_MODE_EXIT_CODE=0 EDIT_MODE_EXIT_CODE=0
if [ "$EDIT_MODE" == "true" ]; then if [ "$EDIT_MODE" = "true" ]; then
echo "" echo ""
echo "###########################" echo "###########################"
echo "# Testing in EditMode #" echo "# Testing in EditMode #"
@ -106,7 +106,7 @@ fi
# Testing in PlayMode # Testing in PlayMode
# #
PLAY_MODE_EXIT_CODE=0 PLAY_MODE_EXIT_CODE=0
if [ "$PLAY_MODE" == "true" ]; then if [ "$PLAY_MODE" = "true" ]; then
echo "" echo ""
echo "###########################" echo "###########################"
echo "# Testing in PlayMode #" echo "# Testing in PlayMode #"
@ -150,7 +150,7 @@ echo "###########################"
echo "" echo ""
ls -alh $UNITY_PROJECT_PATH ls -alh $UNITY_PROJECT_PATH
if [ "$EDIT_MODE" == "true" ]; then if [ "$EDIT_MODE" = "true" ]; then
echo "" echo ""
echo "###########################" echo "###########################"
echo "# Edit Mode Results #" echo "# Edit Mode Results #"
@ -160,7 +160,7 @@ if [ "$EDIT_MODE" == "true" ]; then
cat "$FULL_ARTIFACTS_PATH/editmode-results.xml" | grep test-run | grep Passed cat "$FULL_ARTIFACTS_PATH/editmode-results.xml" | grep test-run | grep Passed
fi fi
if [ "$PLAY_MODE" == "true" ]; then if [ "$PLAY_MODE" = "true" ]; then
echo "" echo ""
echo "###########################" echo "###########################"
echo "# Play Mode Results #" echo "# Play Mode Results #"