Skip to content

Instantly share code, notes, and snippets.

@rstanic12
Created February 24, 2019 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rstanic12/e9d1efef26a879654b31d219b735aba9 to your computer and use it in GitHub Desktop.
Save rstanic12/e9d1efef26a879654b31d219b735aba9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -e
set -x
mkdir -p /root/.cache/unity3d
mkdir -p /root/.local/share/unity3d/Unity/
set +x
echo 'Writing $UNITY_LICENSE_CONTENT to license file /root/.local/share/unity3d/Unity/Unity_lic.ulf'
echo "$UNITY_LICENSE_CONTENT" | tr -d '\r' > /root/.local/share/unity3d/Unity/Unity_lic.ulf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment