fix false positive activation file detection

This commit is contained in:
Aaron Trudeau
2022-05-10 23:49:47 -04:00
parent b20d994b5d
commit 580c9c14a0

View File

@@ -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##*/}")