Skip to content

Commit

Permalink
Fix activate error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Dec 11, 2023
1 parent 095b73c commit 33280cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions dist/platforms/ubuntu/activate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

elif [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
if [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
#
# SERIAL LICENSE MODE
#
Expand Down Expand Up @@ -98,6 +98,3 @@ else
echo "::error ::There was an error while trying to activate the Unity license."
exit $UNITY_EXIT_CODE
fi

# Return to previous working directory
popd
3 changes: 0 additions & 3 deletions dist/platforms/ubuntu/return_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ elif [[ -n "$UNITY_SERIAL" ]]; then
-password "$UNITY_PASSWORD" \
-projectPath "/BlankProject"
fi

# Return to previous working directory
popd

0 comments on commit 33280cf

Please sign in to comment.