[SM-Discuss] Sorcery not doing "cd" between BUILD and INSTALL
Eric Sandall
eric at sandall.us
Sat May 14 00:29:13 EDT 2005
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.
More information about the SM-Discuss
mailing list