From 544134f0534d2e4e4fd7ab823d8a0da543fa80ef Mon Sep 17 00:00:00 2001 From: historia Date: Sat, 12 Sep 2026 21:18:34 -0400 Subject: fix: output wavs from gui go into correct directory --- producer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'producer.sh') diff --git a/producer.sh b/producer.sh index 893cf87..fd4d9f3 100755 --- a/producer.sh +++ b/producer.sh @@ -183,7 +183,7 @@ mkdir -p -- "$RUNTIME/cache/pip" "$RUNTIME/cache/uv" "$RUNTIME/uv" "$RUNTIME/tmp # host are dropped and package-manager configuration files are disabled, so # packages can only come from the explicitly passed trusted indexes and land # inside lib/runtime. The application reads PRODUCER_HOME for AI envs and -# models. +# models, and PRODUCER_ROOT (the project root) for the shared logs directory. unset PYTHONPATH PYTHONHOME VIRTUAL_ENV \ PIP_TARGET PIP_PREFIX PIP_USER PIP_FIND_LINKS PIP_INDEX_URL PIP_EXTRA_INDEX_URL \ PIP_CONSTRAINT \ @@ -194,6 +194,9 @@ export PIP_CACHE_DIR="$RUNTIME/cache/pip" UV_CACHE_DIR="$RUNTIME/cache/uv" export PIP_CONFIG_FILE=/dev/null UV_NO_CONFIG=1 export UV_PYTHON_INSTALL_DIR="$RUNTIME/uv/python" XDG_CACHE_HOME="$RUNTIME/cache" export TMPDIR="$RUNTIME/tmp" PRODUCER_HOME="$RUNTIME" +# The application writes all diagnostic report logs under PRODUCER_ROOT/logs +# (the directory containing producer.sh), no matter where outputs go. +export PRODUCER_ROOT="$ROOT" marker_current() { # Only the version suffix decides; the recorded path is informational. -- cgit v1.2.3