Add -p flag to mkdir so parents are also created if missing

pull/468/head
Simen Sandvaer 2022-10-14 14:44:30 +02:00
parent 3382e79d2d
commit 58e14371bb
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then
echo "s/%URL%/$UNITY_LICENSING_SERVER/"
cat services-config.json.template | tr -d '\r' | awk "{sub(/%URL%/,\"$UNITY_LICENSING_SERVER\")}1" > services-config.json
cat services-config.json
mkdir /usr/share/unity3d/config/
mkdir -p /usr/share/unity3d/config/
mv services-config.json /usr/share/unity3d/config/
cat /usr/share/unity3d/config/services-config.json
# Activate license