From b61e20551659858ad4419d25d04d0dcd8497c77b Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Thu, 19 Nov 2015 17:52:39 +0100 Subject: [PATCH] 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 --- packaging/macosx/osx-app.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.34.1