Fix a comparison.

Change-Id: Ibecdf6be6c6957afc176e6eb97f60f19b090b40c
Reviewed-on: https://code.wireshark.org/review/28091
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-06-07 14:16:42 -07:00
parent 8f664a746c
commit f76f9a51b8
1 changed files with 3 additions and 3 deletions

View File

@ -141,7 +141,7 @@ a=1
nfiles=0
endl=true
while $endl; do
echo -e "Looking for dependencies. Round" $a
echo -e "Looking for dependencies. Round $a"
#
# To find dependencies, we:
#
@ -181,10 +181,10 @@ while $endl; do
)"
# shellcheck disable=SC2086
cp -vn $libs "$pkglib"
(( a += 1 ))
(( a++ ))
# shellcheck disable=SC2012
nnfiles=$( ls "$pkglib" | wc -l )
if [ "$nnfiles" = $nfiles ]; then
if (( nnfiles == nfiles )); then
endl=false
else
nfiles=$nnfiles