aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-06-07 14:16:42 -0700
committerGerald Combs <gerald@wireshark.org>2018-06-07 21:25:39 +0000
commitf76f9a51b8c73a13af75ec33fddf2ab5c3044f06 (patch)
treed6b2f389cd7cac8ced765a4420e16317a4ee7132 /packaging
parent8f664a746cae53d508e4d9f4bb17fe8a955b40f8 (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-xpackaging/macosx/osx-app.sh.in6
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