mirror of https://github.com/google/oss-fuzz.git
[open62541] Fix basename call when getting a fuzz target name.
This commit is contained in:
parent
ab5f1b8db2
commit
d3168a2c58
|
@ -51,7 +51,7 @@ CXXFLAGS="$CXXFLAGS -I$WORK/open62541/src_generated -I$SRC/open62541/include -I$
|
|||
fuzzerFiles=$(find $SRC/open62541/tests/fuzz/ -name "*.cc")
|
||||
|
||||
for F in $fuzzerFiles; do
|
||||
fuzzerName=$(basename $F .c)
|
||||
fuzzerName=$(basename $F .cc)
|
||||
echo "Building fuzzer $fuzzerName"
|
||||
|
||||
$CXX $CXXFLAGS -std=c++11 \
|
||||
|
|
Loading…
Reference in New Issue