Test to figure out what the working directory is of current bash script
parent
8f33240500
commit
b77e513b98
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue