From 8699847a4222dd623baa6b99d37e337ec32ffd7f Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Thu, 26 Jan 2017 18:27:42 -0800 Subject: [PATCH] Fix breakage due to absolute paths in DockerFile --- infra/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/helper.py b/infra/helper.py index 88996e41f..11c0e4db9 100755 --- a/infra/helper.py +++ b/infra/helper.py @@ -225,7 +225,7 @@ def run_fuzzer(run_args): '-v', '%s:/out' % os.path.join(BUILD_DIR, 'out', args.project_name), '-t', 'ossfuzz/base-runner', 'run_fuzzer', - '/out/%s' % args.fuzzer_name, + args.fuzzer_name, ] + args.fuzzer_args print('Running:', _get_command_string(command)) @@ -314,7 +314,7 @@ def reproduce(run_args): '-v', '%s:/testcase' % _get_absolute_path(args.testcase_path), '-t', 'ossfuzz/base-runner', 'reproduce', - '/out/%s' % args.fuzzer_name, + args.fuzzer_name, '-runs=100', ] + args.fuzzer_args