This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch fuzzing
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/fuzzing by this push:
     new a9afe787f3 Follow symlinks while copying the Java runtime
a9afe787f3 is described below

commit a9afe787f3a9210b08fb18f01c14b7c3fb404658
Author: Volkan Yazıcı <vol...@yazi.ci>
AuthorDate: Mon Sep 2 12:09:02 2024 +0200

    Follow symlinks while copying the Java runtime
---
 oss-fuzz-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oss-fuzz-build.sh b/oss-fuzz-build.sh
index 62a88a26e1..6087f8959a 100755
--- a/oss-fuzz-build.sh
+++ b/oss-fuzz-build.sh
@@ -94,7 +94,7 @@ fi
 # Build and fuzz environments are different: 
https://google.github.io/oss-fuzz/further-reading/fuzzer-environment/
 # Package the Java runtime along with the fuzzers.
 javaHomeFileName="jvm"
-cp -r "$JAVA_HOME" "$outputDir/$javaHomeFileName"
+cp -rL "$JAVA_HOME" "$outputDir/$javaHomeFileName"
 
 # Iterate over fuzzers
 for module in *-fuzz-test; do

Reply via email to