aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2015-11-19 17:52:39 +0100
committerGerald Combs <gerald@wireshark.org>2015-11-19 17:02:58 +0000
commitb61e20551659858ad4419d25d04d0dcd8497c77b (patch)
treee736d424737ceaa6c9fe7aed43066727e9a49acf /packaging
parentd6da95231ee790fd884ca2a41fe59aa9b05ccde9 (diff)
osx: fix build when binary list is not fully compiled.
It can happen that the $binary_list contains apps that are not compiled (eg. for the lack of a lib). In this case the binary can't be added to the package. Fixed checking that the binary going to be signed is present. Change-Id: Iefd9438de972302523ba28596e905b11513a4fea Reviewed-on: https://code.wireshark.org/review/11968 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/osx-app.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh
index 20eeca8142..cf446ebd64 100755
--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh
@@ -729,7 +729,9 @@ if [ -n "$CODE_SIGN_IDENTITY" ] ; then
exit 1
fi
for binary in $cs_binary_list ; do
- codesign_file "$binary"
+ if [ -e "$binary" ];then
+ codesign_file "$binary"
+ fi
done
echo "Signing frameworks"