diff --git a/dist/platforms/ubuntu/activate.sh b/dist/platforms/ubuntu/activate.sh index db84d0a..5a42f1c 100755 --- a/dist/platforms/ubuntu/activate.sh +++ b/dist/platforms/ubuntu/activate.sh @@ -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 # @@ -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 diff --git a/dist/platforms/ubuntu/return_license.sh b/dist/platforms/ubuntu/return_license.sh index 0015d5d..3555e1d 100755 --- a/dist/platforms/ubuntu/return_license.sh +++ b/dist/platforms/ubuntu/return_license.sh @@ -20,6 +20,3 @@ elif [[ -n "$UNITY_SERIAL" ]]; then -password "$UNITY_PASSWORD" \ -projectPath "/BlankProject" fi - -# Return to previous working directory -popd