On Thu, Jul 10, 2003 at 02:21:48PM +0200, Michael Schloh von Bennewitz wrote:
> On Thu, Jul 10, 2003, Matthias Kurz wrote:
[...]
> > Also, it would be nice when the build routines would respect the $TMP
> > environment variable and not only use the fixed path "/tmp".
> >
> Make a file called '.rpmmacros' in your $HOME directory, and put
> 
> %_builddir %(echo $TMP)
> %_tmppath  %(echo $TMP)
> 

Ahh, i nearly overlooked it. This is the perfect solution - when it
works (i'll try).
To those who care: I work under Solaris. The name of the variable
doesn't matter - i'm just used to TMP (home and work) for no particular
reason. Though, TMPDAT has the "disadvantage" that the compiler also
places its tempfiles there - don't know how much this affects performance.

And while i'm at it: looks like a zero byte file "openpkg.boot.install.sh"
survives the cleanup in the end of the build ;-)


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   >> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to