Re: Tazwok/bb and Tank current stat

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


On Wed, 4 May 2011 22:41:59 +0000
Christopher Rogers <slaxemulator@xxxxxxxxx> wrote:

> Stuff is defined in cook-toolchain script from what i could tell.
> 
> # Use some tweaked code from tazwok.
> prepare_package()
> {
>     tazwok clean $PACKAGE
>     tazwok get-src $PACKAGE
>     unset SOURCE VERSION EXTRAVERSION CATEGORY SHORT_DESC \
>         MAINTAINER WEB_SITE WGET_URL DEPENDS BUILD_DEPENDS WANTED \
>         stuff wanted_stuff
>     . $WOK/$PACKAGE/receipt
>     src=$WOK/$PACKAGE/$PACKAGE-$VERSION
>     stuff=$WOK/$PACKAGE/stuff
>     [ "$WANTED" ] && wanted_stuff=$WOK/$WANTED/stuff
>     cd $WOK/$PACKAGE
> }
> 
> I did add stuff and wanted_stuff be unset though.

That's useless, since it's defined just after anyway… src is never
unset & it causes no problem, right?

The point is stuff & wanted_stuff are probably not defined in the
version used on tank since sandbox is not up-to-date, and
cook-toolchain script is get from the env which build the chroot...


-- 
GoKhlaYeh <gokhlayeh@xxxxxxxxxx>


---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/