mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 14:54:29 +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
|
if [ -f "${SUPPORT_DIR}/launch.properties" ]; then
|
||||||
|
|
||||||
# Production Environment
|
# Production Environment
|
||||||
INSTALL_DIR="${SUPPORT_DIR}/.."
|
export INSTALL_DIR="${SUPPORT_DIR}/.."
|
||||||
CPATH="${INSTALL_DIR}/Ghidra/Framework/Utility/lib/Utility.jar"
|
CPATH="${INSTALL_DIR}/Ghidra/Framework/Utility/lib/Utility.jar"
|
||||||
LS_CPATH="${SUPPORT_DIR}/LaunchSupport.jar"
|
LS_CPATH="${SUPPORT_DIR}/LaunchSupport.jar"
|
||||||
DEBUG_LOG4J="${SUPPORT_DIR}/debug.log4j.xml"
|
DEBUG_LOG4J="${SUPPORT_DIR}/debug.log4j.xml"
|
||||||
else
|
else
|
||||||
|
|
||||||
# Development Environment (Eclipse classes or "gradle jar")
|
# Development Environment (Eclipse classes or "gradle jar")
|
||||||
INSTALL_DIR="${SUPPORT_DIR}/../../../.."
|
export INSTALL_DIR="${SUPPORT_DIR}/../../../.."
|
||||||
CPATH="${INSTALL_DIR}/Ghidra/Framework/Utility/bin/main"
|
CPATH="${INSTALL_DIR}/Ghidra/Framework/Utility/bin/main"
|
||||||
LS_CPATH="${INSTALL_DIR}/GhidraBuild/LaunchSupport/bin/main"
|
LS_CPATH="${INSTALL_DIR}/GhidraBuild/LaunchSupport/bin/main"
|
||||||
if ! [ -d "${LS_CPATH}" ]; then
|
if ! [ -d "${LS_CPATH}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user