mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Remove debugging, switch -ne to -eq
This commit is contained in:
parent
ad034dd2a5
commit
32081adc59
@ -41,19 +41,13 @@ if [[ -n "$UNITY_LICENSE" ]]; then
|
|||||||
ACTIVATION_SUCCESSFUL=$(echo $ACTIVATION_OUTPUT | grep 'Next license update check is after' | wc -l)
|
ACTIVATION_SUCCESSFUL=$(echo $ACTIVATION_OUTPUT | grep 'Next license update check is after' | wc -l)
|
||||||
|
|
||||||
# Set exit code to 0 if activation was successful
|
# Set exit code to 0 if activation was successful
|
||||||
if [[ $ACTIVATION_SUCCESSFUL -ne 1 ]]; then
|
if [[ $ACTIVATION_SUCCESSFUL -eq 1 ]]; then
|
||||||
UNITY_EXIT_CODE=0
|
UNITY_EXIT_CODE=0
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
# Remove license file
|
# Remove license file
|
||||||
rm -f $FILE_PATH
|
rm -f $FILE_PATH
|
||||||
|
|
||||||
# TODO - remove debugging
|
|
||||||
echo "activation successful value: $ACTIVATION_SUCCESSFUL"
|
|
||||||
echo $ACTIVATION_OUTPUT
|
|
||||||
echo $ACTIVATION_OUTPUT | grep 'Next license update check is after'
|
|
||||||
echo $ACTIVATION_OUTPUT | grep 'Next license update check is after' | wc -l
|
|
||||||
|
|
||||||
elif [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
|
elif [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
|
||||||
#
|
#
|
||||||
# PROFESSIONAL (SERIAL) LICENSE MODE
|
# PROFESSIONAL (SERIAL) LICENSE MODE
|
||||||
|
Loading…
Reference in New Issue
Block a user