diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-06-07 14:16:42 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-06-07 21:25:39 +0000 |
commit | f76f9a51b8c73a13af75ec33fddf2ab5c3044f06 (patch) | |
tree | d6b2f389cd7cac8ced765a4420e16317a4ee7132 /packaging | |
parent | 8f664a746cae53d508e4d9f4bb17fe8a955b40f8 (diff) |
Fix a comparison.
Change-Id: Ibecdf6be6c6957afc176e6eb97f60f19b090b40c
Reviewed-on: https://code.wireshark.org/review/28091
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/macosx/osx-app.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/macosx/osx-app.sh.in b/packaging/macosx/osx-app.sh.in index 368b43bf1a..17cb595394 100755 --- a/packaging/macosx/osx-app.sh.in +++ b/packaging/macosx/osx-app.sh.in @@ -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 |