diff options
author | Tamir Duberstein <tamird@google.com> | 2019-12-03 13:31:26 -0800 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2019-12-04 19:15:07 +0000 |
commit | 9879850cc36cac3d3352ef87a6759c50e0c29c18 (patch) | |
tree | c1fc79ce12e0422c869a865f23ed47401519c2d4 | |
parent | 082ad65a0d738195e9b113f19abe75a16588a822 (diff) |
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>
-rwxr-xr-x | tools/debian-setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/debian-setup.sh b/tools/debian-setup.sh index c57662ba26..abd7288b3b 100755 --- a/tools/debian-setup.sh +++ b/tools/debian-setup.sh @@ -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 |