Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8520] Should FUNCTIONS be supported at a section level in addition to grimoire level

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 8520] Should FUNCTIONS be supported at a section level in addition to grimoire level
  • Date: Wed, 30 Mar 2005 08:28:52 -0800 (PST)

http://bugs.sourcemage.org/show_bug.cgi?id=8520





------- Additional Comments From acedit AT armory.com 2005-03-30 08:28 -------
Part of the original feature was section level functions that override
grimoire
level, theres also an api for DETAILS to opt out of either or both functions
files. I can dig up the ML discussion in a minute, heres the code for loading
FUNCTIONS

USE_FUNCTIONS may be defined in DETAILS

USE_FUNCTIONS=${USE_FUNCTIONS:-on}
if [[ $USE_FUNCTIONS == "on" ]] ; then
[ -x $GRIMOIRE/FUNCTIONS ] && . $GRIMOIRE/FUNCTIONS
[ -x $SECTION_DIRECTORY/FUNCTIONS ] && . $SECTION_DIRECTORY/FUNCTIONS
elif [[ $USE_FUNCTIONS == "grimoire" ]] ; then
[ -x $GRIMOIRE/FUNCTIONS ] && . $GRIMOIRE/FUNCTIONS
elif [[ $USE_FUNCTIONS == "section" ]] ; then
[ -x $SECTION_DIRECTORY/FUNCTIONS ] && . $SECTION_DIRECTORY/FUNCTIONS
fi

As far as I can tell we've always had this :-)

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page