Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Sorcery not doing "cd" between BUILD and INSTALL

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Sorcery not doing "cd" between BUILD and INSTALL
  • Date: Fri, 13 May 2005 21:29:13 -0700

Quoting "Sergey A. Lipnevich" <sergey AT optimaltec.com>:
> Hi!
>
> Sorcery changes to SOURCE_DIRECTORY before calling BUILD but doesn't do that
> before INSTALL. Is this desired behavior? I'd prefer to assume that BUILD
> and
> INSTALL (as well as POST_INSTALL I guess) where executed from the directory
> in
> SOURCE_DIRECTORY. What do you guys think?

I'd prefer that Sorcery only put us in $SOURCE_DIRECTORY once (preferably
between PRE_BUILD and BUILD) and then leave our CWD alone. This way the
spell-writer can choose where they're CWD is and expect it to stay there. I
don't think we've formally defined this, but that's my take.

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.24.

Top of Page