Outputting current directory and using $ACTION_FOLDER

pull/468/head
Simen Sandvaer 2022-10-14 13:39:44 +02:00
parent b77e513b98
commit 4ba7a9dfe8
1 changed files with 2 additions and 3 deletions

View File

@ -79,10 +79,9 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then
# Custom Unity License Server # Custom Unity License Server
# #
echo "Adding licensing server config" echo "Adding licensing server config"
echo "folder $(pwd) action $(ACTION_FOLDER)"
popd # Jump out of activate license folder cat $ACTION_FOLDER/resources/services-config.json.template | tr -d '\r' | sed -e "s/%URL%/$UNITY_LICENSING_SERVER/" > services-config.json
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/ mv services-config.json /usr/share/unity3d/config/
cat /usr/share/unity3d/config/services-config.json cat /usr/share/unity3d/config/services-config.json
# Activate license # Activate license