Skip to content

Commit

Permalink
Fix failure if there are no runfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum authored Mar 8, 2024
1 parent 82d81a0 commit 118dcc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuzzing/private/oss_fuzz/package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def _oss_fuzz_package_impl(ctx):
ln -s "$(pwd)/$target" "$STAGING_DIR/{binary_runfiles_dir}/$link"
done <{runfiles_manifest_path}
if [[ -n "{binary_repo_mapping_manifest}" ]]; then
mkdir -p "$STAGING_DIR/{binary_runfiles_dir}"
ln -s "$(pwd)/{binary_repo_mapping_manifest}" "$STAGING_DIR/{binary_runfiles_dir}/_repo_mapping"
fi
if [[ -n "{corpus_dir}" ]]; then
Expand Down

0 comments on commit 118dcc9

Please sign in to comment.