Skip to content
Snippets Groups Projects
Commit 78294ce9 authored by Simon McVittie's avatar Simon McVittie
Browse files

Add comments where we're intentionally not using $STEAM_RUNTIME_SCOUT


steamrt/tasks#520

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent e5fdd6d0
Branches
Tags
1 merge request!760adapt to new use of $STEAM_RUNTIME_SCOUT
Pipeline #102358 passed
......@@ -34,6 +34,8 @@ main () {
me="${me##*/}"
default_path="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
# Intentionally not STEAM_RUNTIME_SCOUT: we want the LDLP runtime
# that we were previously running in, if any
steam_runtime="${STEAM_RUNTIME-}"
# Undo any weird environment before we start running external
......
......@@ -147,6 +147,9 @@ open_with_portal (const char *uri_or_filename,
}
}
/*
* Returns: %TRUE if running inside a LD_LIBRARY_PATH runtime
*/
static gboolean
is_ldlp_runtime (void)
{
......
......@@ -58,6 +58,8 @@ if [ -n "${PATH-}" ]; then
set -- "--env-if-host=PATH=$PATH" "$@"
fi
# Intentionally not STEAM_RUNTIME_SCOUT: we want the LDLP runtime
# that we were previously running in, if any
if [ -n "${STEAM_RUNTIME-}" ]; then
set -- "--env-if-host=STEAM_RUNTIME=$STEAM_RUNTIME" "$@"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment