aboutsummaryrefslogtreecommitdiff
path: root/docs/getting-started
diff options
context:
space:
mode:
authorAbhishek Arya <inferno@chromium.org>2020-11-29 18:49:47 -0800
committerGitHub <noreply@github.com>2020-11-29 18:49:47 -0800
commit84616ae4ce90ffe795edee48edfb6274deb23cfd (patch)
treee33836662f5f316131bf27054132c2c7a9d0de0e /docs/getting-started
parent061586aea9912c430c2fc120887ac9d0d19c1928 (diff)
downloadoss-fuzz-84616ae4ce90ffe795edee48edfb6274deb23cfd.tar.gz
Fix "exec format error" due to incorrect shebang in python target. (#4746)
Diffstat (limited to 'docs/getting-started')
-rw-r--r--docs/getting-started/new-project-guide/python_lang.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/getting-started/new-project-guide/python_lang.md b/docs/getting-started/new-project-guide/python_lang.md
index bd0fd55ee..97fe18612 100644
--- a/docs/getting-started/new-project-guide/python_lang.md
+++ b/docs/getting-started/new-project-guide/python_lang.md
@@ -85,7 +85,7 @@ for fuzzer in $(find $SRC -name '*_fuzzer.py'); do
# preloaded, so this is also done here to ensure compatibility and simplify
# test case reproduction. Since this helper script is what OSS-Fuzz will
# actually execute, it is also always required.
- echo "#/bin/sh
+ echo "#!/bin/sh
# LLVMFuzzerTestOneInput for fuzzer detection.
LD_PRELOAD=\$(dirname "\$0")/libclang_rt.asan-x86_64.so \$(dirname "\$0")/$fuzzer_package \$@" > $OUT/$fuzzer_basename
chmod u+x $OUT/$fuzzer_basename