From b40111e60f4b35592ec4977fabbd11eba396d13c Mon Sep 17 00:00:00 2001 From: David Brown Date: Thu, 16 Jan 2025 11:57:33 +0000 Subject: [PATCH] add --preserve-env to sudo ./install call for FORCE_INSTALL --- get-tinypilot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-tinypilot.sh b/get-tinypilot.sh index 96db0348d..ec44febe4 100755 --- a/get-tinypilot.sh +++ b/get-tinypilot.sh @@ -160,7 +160,7 @@ fi # Run install. pushd "${INSTALLER_DIR}" sudo \ - TMPDIR="${TMPDIR}" \ + --preserve-env=TMPDIR,FORCE_INSTALL \ ./install } # Prevent the script from executing until the client downloads the full file.