Allow a dev to have the steam-runtime somewhere other than $HOME/

This commit is contained in:
Jeremy White 2018-06-25 10:57:31 -05:00 committed by Andrew Eikum
parent a5e05955c1
commit 63c1d07d07

View File

@ -18,6 +18,8 @@ set -e
JOBS=-j5
PLATFORM=$(uname)
[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime"
#./wine/ <-- wine source
#./build/ <-- build files
#./dist/ <-- proton build, ready to distribute
@ -593,7 +595,7 @@ if [ "$PACKAGE" = true ]; then
#create default prefix
rm -rf "$TOP"/build/dist/share/default_pfx/
if [ "$PLATFORM" != "Darwin" ]; then
RUNTIME_RUNSH="$HOME"/steam-runtime/runtime/run.sh
RUNTIME_RUNSH="$STEAM_RUNTIME"/runtime/run.sh
else
RUNTIME_RUNSH=""
fi