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>
This commit is contained in:
Guy Harris 2018-08-21 12:20:58 -07:00
parent e8c3075bb6
commit ad3367e169
1 changed files with 1 additions and 1 deletions

View File

@ -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