If we weren't started with special privileges, try to figure out if
authorGuy Harris <guy@alum.mit.edu>
Mon, 12 Aug 2013 00:59:34 +0000 (00:59 -0000)
committerGuy Harris <guy@alum.mit.edu>
Mon, 12 Aug 2013 00:59:34 +0000 (00:59 -0000)
commit237c5a7b606a54d9d25f0d6bd6a3e5efe48fe6a0
treec5d98cf290d3c80ce70efe3b4dc8d034b26e00c1
parentbf0f0ec4d9bcbda4d1a3c683d981cfc9b5d32223
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.

svn path=/trunk/; revision=51306
epan/filesystem.c
packaging/macosx/Resources/bin/wireshark