mirror of https://github.com/google/oss-fuzz.git
[infra] Break loudly when a build script incorrectly uses /out instead of $OUT
This commit is contained in:
parent
649ab84a2f
commit
6d8ecba423
|
@ -154,7 +154,9 @@ def get_build_steps(project_yaml):
|
||||||
'args': [
|
'args': [
|
||||||
'bash',
|
'bash',
|
||||||
'-c',
|
'-c',
|
||||||
'cd /src/{1} && mkdir -p {0} && compile'.format(out, name),
|
# Remove /out to break loudly when a build script incorrectly uses
|
||||||
|
# /out instead of $OUT.
|
||||||
|
'rm -r /out && cd /src/{1} && mkdir -p {0} && compile'.format(out, name),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
# zip binaries
|
# zip binaries
|
||||||
|
|
Loading…
Reference in New Issue