On Thu, Jul 03, 2008 at 05:42:29PM +0200, j3d1f0x <[EMAIL PROTECTED]> wrote:
> This time is egoboo-data. But, in this FrugalBuild, I have a problem with 
> the file name Egoboo $pkgver Manual.pdf. I can't use Fdoc with its name. 
> And I don't know how I can remove spaces in.

yes, that's a known bug, and sadly it's not trivial to fix it up.

you have two options:

1)

mv "Egoboo $pkgver Manual.pdf" Egoboo-$pkgver-Manual.pdf
Fdocrel Egoboo-$pkgver-Manual.pdf

2)

Ffilerel "Egoboo $pkgver Manual.pdf" /usr/share/doc/$pkgname-$pkgver

> _F_cd_path="Egoboo $pkgver"
> build()
> {
>       Fmkdir /usr/share/egoboo
>       Fcd

this is a bit of duplication, you can just use:

Fcd "Egoboo $pkgver"

and then you have one less lines :)

(side note: in general _F_cd_path originally was invented to avoid the
following:

build()
{
        Fcd foo
        Fbuild
}

but if you already have a build(), then in most cases using _F_cd_path
does not make sense.)

Attachment: pgpMrz7s6BeI3.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to