From b77e513b9835cbf9d1bbd49a58656f9de6cfb624 Mon Sep 17 00:00:00 2001 From: Simen Sandvaer Date: Fri, 14 Oct 2022 12:05:56 +0200 Subject: [PATCH] Test to figure out what the working directory is of current bash script --- dist/platforms/ubuntu/steps/activate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/platforms/ubuntu/steps/activate.sh b/dist/platforms/ubuntu/steps/activate.sh index 7b8fa9c8..acae2c28 100755 --- a/dist/platforms/ubuntu/steps/activate.sh +++ b/dist/platforms/ubuntu/steps/activate.sh @@ -79,8 +79,9 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then # Custom Unity License Server # echo "Adding licensing server config" - #C:\Program Files\Unity\Hub\Editor\2022.1.16f1\Editor\Data\Resources\Licensing\Client + popd # Jump out of activate license folder + pwd cat ../../../resources/services-config.json.template | tr -d '\r' | sed -e "s/%URL%/$UNITY_LICENSING_SERVER/" > services-config.json mv services-config.json /usr/share/unity3d/config/ cat /usr/share/unity3d/config/services-config.json