From 4ba7a9dfe8e0c3eb5c5881053633376ee6695f36 Mon Sep 17 00:00:00 2001 From: Simen Sandvaer Date: Fri, 14 Oct 2022 13:39:44 +0200 Subject: [PATCH] Outputting current directory and using $ACTION_FOLDER --- dist/platforms/ubuntu/steps/activate.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/platforms/ubuntu/steps/activate.sh b/dist/platforms/ubuntu/steps/activate.sh index acae2c28..ec150cd8 100755 --- a/dist/platforms/ubuntu/steps/activate.sh +++ b/dist/platforms/ubuntu/steps/activate.sh @@ -79,10 +79,9 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then # Custom Unity License Server # echo "Adding licensing server config" + echo "folder $(pwd) action $(ACTION_FOLDER)" - 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 + cat $ACTION_FOLDER/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 # Activate license