Fixed running string as command, use it as input instead
parent
d22bf06e80
commit
e1f453126e
|
|
@ -86,9 +86,10 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then
|
|||
|
||||
/opt/unity/Editor/Data/Resources/Licensing/Client/Unity.Licensing.Client --acquire-floating > license.txt #is this accessible in a env variable?
|
||||
PARSEDFILE=$(grep -oP '\".*?\"' < license.txt | tr -d '"')
|
||||
echo "$PARSEDFILE"
|
||||
export FLOATING_LICENSE
|
||||
FLOATING_LICENSE=$("$PARSEDFILE" | sed -n 2p)
|
||||
FLOATING_LICENSE_TIMEOUT=$("$PARSEDFILE" | sed -n 4p)
|
||||
FLOATING_LICENSE=$(sed -n 2p <<< "$PARSEDFILE")
|
||||
FLOATING_LICENSE_TIMEOUT=$(sed -n 4p <<< "$PARSEDFILE")
|
||||
|
||||
echo "Acquired floating license: \"$FLOATING_LICENSE\" with timeout $FLOATING_LICENSE_TIMEOUT"
|
||||
# Store the exit code from the verify command
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"licensingServiceBaseUrl": "test",
|
||||
"enableEntitlementLicensing": true,
|
||||
"enableFloatingApi": true,
|
||||
"clientConnectTimeoutSec": 5,
|
||||
"clientHandshakeTimeoutSec": 10
|
||||
}
|
||||
Loading…
Reference in New Issue