From d3168a2c58fa52442f263bf589924be46cf767b2 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Wed, 19 Jul 2017 07:49:49 -0700 Subject: [PATCH] [open62541] Fix basename call when getting a fuzz target name. --- projects/open62541/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/open62541/build.sh b/projects/open62541/build.sh index 18493371a..24432df16 100755 --- a/projects/open62541/build.sh +++ b/projects/open62541/build.sh @@ -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 \