Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (6ce57b97a3ce68402e781903051505b83725cd2c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <smgl AT lynxlynx.info>
  • To: sm-commit AT lists.ibiblio.org, Ismael Luceno <ismael AT sourcemage.org>
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (6ce57b97a3ce68402e781903051505b83725cd2c)
  • Date: Tue, 11 Mar 2008 19:10:33 +0100

Those vars don't need to be persistent. Usually they are exported so child
processes can get them too, but this is sometimes not needed. Also you can
pass some vars directly (bla=2143 huhu=123 ./autogen).

The note about avoiding "export" in the wiki page is meant more like a
reminder that exported variables aren't guaranteed to be persistent over
spell files. Exporting in BUILD should be harmless to other processes too,
since it is run in a double subshell, but other spell files don't have this
luxury.
So it really should be avoided. But you can't remove places where the use is
legitimately needed.

--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page