Test to figure out what the working directory is of current bash script

pull/468/head
Simen Sandvaer 2022-10-14 12:05:56 +02:00
parent 8f33240500
commit b77e513b98
1 changed files with 2 additions and 1 deletions

View File

@ -79,8 +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"
#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 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