From 7e34468125c4856bd8f7e08050cdd5b1dd762d58 Mon Sep 17 00:00:00 2001 From: Pyeongseok Oh Date: Thu, 11 Sep 2025 12:55:53 +0900 Subject: [PATCH] Use extended regular expression since mac uses BSD grep --- dist/platforms/mac/steps/activate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/platforms/mac/steps/activate.sh b/dist/platforms/mac/steps/activate.sh index f7ea1fc7..c9569a80 100755 --- a/dist/platforms/mac/steps/activate.sh +++ b/dist/platforms/mac/steps/activate.sh @@ -37,7 +37,7 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client \ --acquire-floating > license.txt - PARSEDFILE=$(grep -oP '\".*?\"' < license.txt | tr -d '"') + PARSEDFILE=$(grep -oE '\"[^"]*\"' < license.txt | tr -d '"') export FLOATING_LICENSE FLOATING_LICENSE=$(sed -n 2p <<< "$PARSEDFILE") FLOATING_LICENSE_TIMEOUT=$(sed -n 4p <<< "$PARSEDFILE")