mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-02-05 11:05:28 +08:00
GP-0: Export "INSTALL_DIR" environment variable so it can be used in
launch.properties (#7505)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user