aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-07-11 15:35:29 +0200
committerGuy Harris <guy@alum.mit.edu>2016-07-11 17:20:47 +0000
commit4b67b0b4637d4454fc467c0178e0a6a58ec7a185 (patch)
tree69cca7b07dc7ae19068752ee00f3ef2c0e522e8f
parentee28324d54750f14b0e53a96695cc0dd26bbab77 (diff)
osx-app: small improvement in packaging script.
Change-Id: I484ab1b001f7fd578e734b4e006137f590a750a9 Reviewed-on: https://code.wireshark.org/review/16379 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rwxr-xr-xpackaging/macosx/osx-app.sh17
1 files changed, 7 insertions, 10 deletions
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh
index 360c84089..7dcc60c 100755
--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh
@@ -64,18 +64,15 @@ binary_list="
text2pcap
tshark
"
-extcap_binary_list="
- extcap/androiddump
- extcap/randpktdump
-"
-if [ -x "extcap/sshdump" ]; then
- extcap_binary_list="$extcap_binary_list extcap/sshdump"
-fi
+extcap_binaries="androiddump randpktdump sshdump ciscodump"
-if [ -x "extcap/ciscodump" ]; then
- extcap_binary_list="$extcap_binary_list extcap/ciscodump"
-fi
+for extcap_binary in $extcap_binaries
+do
+ if [ -x "extcap/$extcap_binary" ]; then
+ extcap_binary_list="$extcap_binary_list extcap/$extcap_binary"
+ fi
+done
cs_binary_list=