Try to fix osx-app.sh bundle creation.
authorGerald Combs <gerald@wireshark.org>
Thu, 22 Oct 2015 22:20:51 +0000 (15:20 -0700)
committerGerald Combs <gerald@wireshark.org>
Thu, 22 Oct 2015 22:23:07 +0000 (22:23 +0000)
Change-Id: I6d96974fae3956a017a007988a1ed145f08d4647
Reviewed-on: https://code.wireshark.org/review/11220
Reviewed-by: Gerald Combs <gerald@wireshark.org>
packaging/macosx/osx-app.sh

index 0c2360386ff5b00b4cf9c0afc0394c07d82066fd..a92c0050df7dbe8926411595d4b95dd2cacf4882 100755 (executable)
@@ -163,6 +163,7 @@ if [ "$create_bundle" = "true" ]; then
        echo -e "\nCREATE WIRESHARK APP BUNDLE\n"
 
        for binary in $wireshark_bin_name $binary_list ; do
+               binary=$( basename $binary )
                if [ ! -x "$binary_path/$binary" ]; then
                        echo "Couldn't find $binary (or it's not executable)" >&2
                        exit 1