If we weren't started with special privileges, try to figure out if
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 12 Aug 2013 00:59:34 +0000 (00:59 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 12 Aug 2013 00:59:34 +0000 (00:59 +0000)
commit59354dd004f7d29a93b3accf29af22ec08aca4c7
treec5d98cf290d3c80ce70efe3b4dc8d034b26e00c1
parentcc93e36642d03ac8d39a37277af92b0eb3ce5877
If we weren't started with special privileges, try to figure out if
we're running from inside an OS X app bundle and, if we are, save the
pathname of the top-level bundle directory and use it to get the
pathnames of global data files, plugins, and Python modules.

This obviates the need to set special environment variables for them in
the launcher scripts, so get rid of the commands to do that.

The @rpathification of binaries also obviates the need for the
commented-out setting of DYLD_LIBRARY_PATH, so get rid of that as well.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@51306 f5534014-38df-0310-8fa8-9805f1628bb7
epan/filesystem.c
packaging/macosx/Resources/bin/wireshark