Skip to content

Commit b0b39ab

Browse files
committed
Fix bash else
1 parent eda9738 commit b0b39ab

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

Tools/CI/service.cmb/run_cmb_service.sh

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,6 @@ logError(){
9191

9292
# Unity Version -----------------------------------------------------------------
9393

94-
DIR="./artifacts"
95-
if [[ -d "$DIR" ]]; then
96-
echo "Artifacts directory exists"
97-
else
98-
echo "Artifacts directory does not exist"
99-
fi
100-
101-
FILE="artifacts/TestResults.js"
102-
if [[ -f "$FILE" ]]; then
103-
echo "TestResults File exists and is a regular file"
104-
else
105-
echo "TestResults File missing"
106-
fi
107-
10894
echo "$(<$FILE)"
10995

11096
sed --help
@@ -114,7 +100,7 @@ unity_version="$(sed -n 's/.*"editorVersion": *"\([^" (]*\).*/\1/p' $FILE)"
114100
# ensure arguments were passed and the ports are defined
115101
if [ -z "$unity_version" ]; then
116102
logMessage "Failed to find unity version: $unity_version! Using default string";
117-
elif [[ "$echo_port" == "$service_port" ]]; then
103+
else
118104
logMessage "Found Unity version: $unity_version";
119105
fi
120106

0 commit comments

Comments
 (0)