Instead of showing just the datadir why not show all kind of compile parameters in a nice way then you could just grep the one you want...
`xboard --show-configure | awk '/Datadir:/ {print $2}` or something similar.
Arun
Instead of showing just the datadir why not show all kind of compile parameters in a nice way then you could just grep the one you want...
`xboard --show-configure | awk '/Datadir:/ {print $2}` or something similar.
Arun