Skip to content

Commit

Permalink
use existing AGENT_HOME environment variable if present
Browse files Browse the repository at this point in the history
  • Loading branch information
fs111 committed Aug 9, 2017
1 parent 99972c0 commit 4cb80a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jmaps
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# 20-Feb-2017 " " Added -u for unfoldall.

JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-8-oracle}
AGENT_HOME=/usr/lib/jvm/perf-map-agent # from https://github.com/jvm-profiling-tools/perf-map-agent
AGENT_HOME=${AGENT_HOME:-/usr/lib/jvm/perf-map-agent} # from https://github.com/jvm-profiling-tools/perf-map-agent
debug=0

if [[ "$USER" != root ]]; then
Expand Down

0 comments on commit 4cb80a3

Please sign in to comment.