Fix passing one or more paths to ./cppcheck.sh

The --check-config arguments can be passed explicitly if desired.
pull/1251/head
Daniele Forsi IU5HKX 2023-03-17 22:46:26 +01:00
rodzic c9e2c5f697
commit b02ff9daa1
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -93,8 +93,7 @@ if test $# -eq 0 ; then
. \
>cppcheck.log 2>&1
else
cppcheck --check-config \
--inline-suppr \
cppcheck --inline-suppr \
-I src \
-I include \
--include=include/hamlib/config.h \
@ -105,5 +104,5 @@ else
--std=c99 \
$SUPPRESS \
$CHECK \
$1
"$@"
fi