Skip to content

Commit de989d7

Browse files
authored
powerdns: fix the copy of dnsdist fuzz targets (#15318)
It seems that `cp` exits with a non-zero exit code when it thinks it should copy a dir, but we only want files.
1 parent 60831d5 commit de989d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/powerdns/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if [ -f dnsdistdist/fuzz_dnsdistcache.cc ]; then
8383
${build_dir}
8484
meson compile -C ${build_dir} fuzz-targets
8585
# copy the fuzzing target binaries
86-
cp ${build_dir}/fuzz-target-* "${OUT}/"
86+
find ${build_dir} -type f -executable -name 'fuzz-target-*' -exec cp {} ${OUT}/ \;
8787
fi
8888

8989
# back to the pdns/ directory

0 commit comments

Comments
 (0)