tools/debian-setup: correctly check the value of shell variables

These conditions would previously always evalute as true.

Change-Id: I7eb35f4eae417819090ba47103a266374847cbc5
Reviewed-on: https://code.wireshark.org/review/35305
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
Tamir Duberstein 2019-12-03 13:31:26 -08:00 committed by Dario Lombardo
parent 082ad65a0d
commit 9879850cc3
1 changed files with 3 additions and 3 deletions

View File

@ -170,17 +170,17 @@ fi
ACTUAL_LIST=$BASIC_LIST
# Now arrange for optional support libraries
if [ $ADDITIONAL ]
if [ $ADDITIONAL != 0 ]
then
ACTUAL_LIST="$ACTUAL_LIST $ADDITIONAL_LIST"
fi
if [ $DEBDEPS ]
if [ $DEBDEPS != 0 ]
then
ACTUAL_LIST="$ACTUAL_LIST $DEBDEPS_LIST"
fi
if [ $TESTDEPS ]
if [ $TESTDEPS != 0 ]
then
ACTUAL_LIST="$ACTUAL_LIST $TESTDEPS_LIST"
fi