diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-08-21 12:20:58 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-08-21 19:21:34 +0000 |
commit | ad3367e16972fd83fe3df53cc44d15d3bbdb24dc (patch) | |
tree | 3ad4b4b12a33e0a48ece71872b7da48225652d47 /tools/bsd-setup.sh | |
parent | e8c3075bb6ab0d8a20362f6b19f291e8673f9730 (diff) |
Use the standard test/[ command.
We use it elsewhere; use it here, as FreeBSD's /bin/sh doesn't support
[[ as a test operator.
Change-Id: I183b10cc6f4aceec9725027474848061e8ea4fd9
Reviewed-on: https://code.wireshark.org/review/29232
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools/bsd-setup.sh')
-rwxr-xr-x | tools/bsd-setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bsd-setup.sh b/tools/bsd-setup.sh index 1b8d5e83e8..450d5878b3 100755 --- a/tools/bsd-setup.sh +++ b/tools/bsd-setup.sh @@ -83,7 +83,7 @@ add_package() { local list="$1" pkgname="$2" # fail if the package is not known - if [[ "$PM_MUST_GLOB" == yes ]] + if [ "$PM_MUST_GLOB" = yes ] then # # We need to do a glob search, with a "*" at the |