Skip to content

Commit

Permalink
evaluator: fix build script lookup (#659)
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski authored Oct 1, 2024
1 parent a90775e commit e932c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiment/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def create_ossfuzz_project(self,
f.write(f'\nCOPY {os.path.basename(target_file)} '
f'{self.benchmark.target_path}\n')

if os.path.getsize(build_script_path) == 0:
if not build_script_path or os.path.getsize(build_script_path) == 0:
return name

# Copy generated build script to generated_project_path
Expand Down

0 comments on commit e932c7f

Please sign in to comment.