The output of "./lyx --version" contains among other useful things
LyX binary dir: /Users/bennett/Desktop/lyx-1.5.5/LyX.app/Contents/MacOS LyX files dir: /Users/bennett/Desktop/lyx-1.5.5/LyX.app/Contents/Resources
which is a path on the machine LyX was BUILT on.I do not know if this is generic, or if it relates to how we currently build on the Mac, but it is for release builds IMHO not very nice.
/Konrad