Possible bug
Tim Hemel <[email protected]> Thu, 4 Dec 2003 10:14:09 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi fellow aap-ers,
I installed AAP on OpenBSD, and had to use the pre patch for Python 2.2.1.
Now, I am trying the following recipe, but I get a strange error...
Target = build
Subdirs = base etc kernel minihttpd php
:print $Subdirs
@for d in expand2list(Subdirs):
:print $d
install:
:print $Subdirs
@for d in expand2list(Subdirs):
:print $d
:execute $d/main.aap install
$ aap install
base etc kernel minihttpd php
base
etc
kernel
minihttpd
php
base etc kernel minihttpd php
Aap: Error in recipe "/usr/home/tim/soekris/main.aap" line 20: NameError: name 'Subdirs' is not defined
Why is this variable not defined in that particular place, but is defined in
all the others?
Note that the line nr is not correct because I deleted some comment lines from
the recipe. I am going to verify if this behaviour is also present on my
FreeBSD system running Python 2.3.2.
The aap version I am running on OpenBSD is
A-A-P recipe executive version 1.049; released 2003 Nov 10 18:38:38 GMT
on FreeBSD I am running:
A-A-P recipe executive version 1.040; released 2003 Oct 09 20:50:54 GMT
Tim
--
Zen Microsystems: we're the om in .commmmmmmmm...
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/