Skip to content

Commit d281df9

Browse files
committed
[OPENJDK-3637] clean up correct hsperfdata path
The hsperfdata path is determined by the running user's username. This is no longer "jboss", but "default". Use "${USER}" so that we catch any future changes in username. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent a922813 commit d281df9

File tree

1 file changed

+1
-1
lines changed
  • modules/maven/s2i/artifacts/opt/jboss/container/maven/s2i

1 file changed

+1
-1
lines changed

modules/maven/s2i/artifacts/opt/jboss/container/maven/s2i/maven-s2i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function maven_s2i_build() {
7676
s2i_core_cleanup
7777

7878
# Remove java tmp perf data dir owned by 185
79-
rm -rf /tmp/hsperfdata_jboss
79+
rm -rf "/tmp/hsperfdata_${USER}"
8080
}
8181

8282
# perform a maven build, i.e. mvn ...

0 commit comments

Comments
 (0)