From 237688442f7ef517f75253730055334913997ec7 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Wed, 28 Jan 2026 09:38:43 -0500 Subject: [PATCH] GP-0: Export "INSTALL_DIR" environment variable so it can be used in launch.properties (#7505) --- Ghidra/RuntimeScripts/Linux/support/launch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ghidra/RuntimeScripts/Linux/support/launch.sh b/Ghidra/RuntimeScripts/Linux/support/launch.sh index 5a8ec3c514..de274efd30 100755 --- a/Ghidra/RuntimeScripts/Linux/support/launch.sh +++ b/Ghidra/RuntimeScripts/Linux/support/launch.sh @@ -104,14 +104,14 @@ fi if [ -f "${SUPPORT_DIR}/launch.properties" ]; then # Production Environment - INSTALL_DIR="${SUPPORT_DIR}/.." + export INSTALL_DIR="${SUPPORT_DIR}/.." CPATH="${INSTALL_DIR}/Ghidra/Framework/Utility/lib/Utility.jar" LS_CPATH="${SUPPORT_DIR}/LaunchSupport.jar" DEBUG_LOG4J="${SUPPORT_DIR}/debug.log4j.xml" else # Development Environment (Eclipse classes or "gradle jar") - INSTALL_DIR="${SUPPORT_DIR}/../../../.." + export INSTALL_DIR="${SUPPORT_DIR}/../../../.." CPATH="${INSTALL_DIR}/Ghidra/Framework/Utility/bin/main" LS_CPATH="${INSTALL_DIR}/GhidraBuild/LaunchSupport/bin/main" if ! [ -d "${LS_CPATH}" ]; then