aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cppcheck
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2019-08-13 15:32:45 -0700
committerGerald Combs <gerald@wireshark.org>2019-08-13 22:34:16 +0000
commit6193c3a5b4410b21862bfab4704a5dcbdbc99d97 (patch)
treee19e6462b5837e8534453d00c05329f8b049027b /tools/cppcheck
parent9784b1dda1123deba011f91a4c6bbb7f55c8a7d1 (diff)
cppcheck: Fix our target selection.
Change-Id: If0fdd7737150357026524a0884b938b809e1244f Reviewed-on: https://code.wireshark.org/review/34277 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools/cppcheck')
-rwxr-xr-xtools/cppcheck/cppcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cppcheck/cppcheck.sh b/tools/cppcheck/cppcheck.sh
index 56dcd52fec..56a30cb857 100755
--- a/tools/cppcheck/cppcheck.sh
+++ b/tools/cppcheck/cppcheck.sh
@@ -82,7 +82,7 @@ if [ $# -gt 0 ]; then
TARGET="$TARGET $*"
fi
-if [ -z "TARGET" ] ; then
+if [ -z "$TARGET" ] ; then
TARGET=.
fi