Subject: Re: Using build.sh, a question
To: David Laight <david@l8s.co.uk>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 06/04/2003 10:32:40
On Wed, May 28, 2003 at 04:12:30PM +0100, David Laight wrote:
| >
| > -M uses the full path, so in my shell (tcsh), I can do:
| > alias cwdcmd 'set obj=${MAKEOBJDIRPREFIX}${cwd}'
| > and have $obj be set to the full path of the current directory.
| > (or use $MAKEOBJDIRPREFIX/`pwd`, etc...)
| >
| > If you use -O, you can't use those tricks. conversely, the objdir
| > paths are shorter, which you may find is useful.
|
| Or use a different shell (eg .bin./sh) which supports the ksh'ism
| 'cd src obj'
How's that work in practice?
(I program (POSIX) sh but I use tcsh interactively.)