From e27f1a126374cca7be6b42e28aec555560fa9170 Mon Sep 17 00:00:00 2001 From: Dan Vicarel Date: Tue, 14 Jan 2020 01:47:24 -0500 Subject: [PATCH] Removed debug lines from shell scripts; activate.sh now prints UNITY env Only substrings of the Unity environment variables though, so we're not completely exposing everything...even though I guess anybody could do this at any time... --- builder/steps/activate.sh | 7 +++++-- builder/steps/build.sh | 2 -- builder/steps/return_license.sh | 2 -- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/builder/steps/activate.sh b/builder/steps/activate.sh index 5b976d6c..95e9e1c0 100644 --- a/builder/steps/activate.sh +++ b/builder/steps/activate.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -echo "In activate.sh" - if [[ -n "$UNITY_LICENSE" ]]; then # # PERSONAL LICENSE MODE @@ -68,6 +66,11 @@ else # # Note: This is the preferred way for PROFESSIONAL LICENSES. # + + echo "UNITY_SERIAL: ${UNITY_SERIAL:0:10}" + echo "UNITY_EMAIL: ${UNITY_EMAIL:-4}" + echo "UNITY_PASSWORD: ${UNITY_PASSWORD:0:4}" + xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ /opt/Unity/Editor/Unity \ -batchmode \ diff --git a/builder/steps/build.sh b/builder/steps/build.sh index fed0bb41..9b50e39b 100644 --- a/builder/steps/build.sh +++ b/builder/steps/build.sh @@ -4,8 +4,6 @@ # Set project path # -echo "In build.sh" - UNITY_PROJECT_PATH=$GITHUB_WORKSPACE/$PROJECT_PATH echo "Using project path \"$UNITY_PROJECT_PATH\"." diff --git a/builder/steps/return_license.sh b/builder/steps/return_license.sh index bb3c5dd0..be21b1ed 100644 --- a/builder/steps/return_license.sh +++ b/builder/steps/return_license.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -echo "In return_license.sh" - if [[ -n "$UNITY_SERIAL" ]]; then # # PROFESSIONAL (SERIAL) LICENSE MODE