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:
parent
8f664a746c
commit
f76f9a51b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue