From 1c53e1da57bedefa66a014b06c0506f659c51b7b Mon Sep 17 00:00:00 2001 From: Arthur Chan Date: Thu, 28 Nov 2024 14:50:33 +0000 Subject: [PATCH] infra: Fix inspector directory copying Signed-off-by: Arthur Chan --- infra/base-images/base-builder/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index d9077510fa2c..d0f45bb73fef 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -326,7 +326,7 @@ if [ "$SANITIZER" = "introspector" ]; then REPORT_ARGS="$REPORT_ARGS --target_dir=$SRC/inspector" REPORT_ARGS="$REPORT_ARGS --language=python" python3 /fuzz-introspector/src/main.py report $REPORT_ARGS - cp -rf $SRC/inspector $OUT/inspector + rsync -avu --delete "$SRC/inspector/" "$OUT/inspector" elif [ "$FUZZING_LANGUAGE" = "jvm" ]; then echo "GOING jvm route" set -x @@ -334,7 +334,7 @@ if [ "$SANITIZER" = "introspector" ]; then REPORT_ARGS="$REPORT_ARGS --target_dir=$SRC/inspector" REPORT_ARGS="$REPORT_ARGS --language=jvm" python3 /fuzz-introspector/src/main.py report $REPORT_ARGS - cp -rf $SRC/inspector $OUT/inspector + rsync -avu --delete "$SRC/inspector/" "$OUT/inspector" else # C/C++