From 580c9c14a019bc4a16ca265af7be75cb04102b8f Mon Sep 17 00:00:00 2001 From: Aaron Trudeau <36064197+trudeaua21@users.noreply.github.com> Date: Tue, 10 May 2022 23:49:47 -0400 Subject: [PATCH] fix false positive activation file detection --- dist/steps/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/steps/run_tests.sh b/dist/steps/run_tests.sh index 276d8e5..092cbfb 100755 --- a/dist/steps/run_tests.sh +++ b/dist/steps/run_tests.sh @@ -16,7 +16,7 @@ if [ "$PACKAGE_MODE" = "true" ]; then ACTIVATE_LICENSE_FILE_NAME="_activate-license" - if [ -f "$ACTIVATE_LICENSE_FILE_NAME"]; then + if [ -f "$UNITY_PROJECT_PATH/$ACTIVATE_LICENSE_FILE_NAME"]; then echo "Package is in repository root. Copying package to temporary directory to avoid Unity Errors." ROOT_FOLDER_NAME=$(echo "${PWD##*/}")