[pacman-dev] [PATCHES] Refreshed PKGBUILDs

Geoffroy Carrier geoffroy.carrier at koon.fr
Sun May 18 19:33:37 EDT 2008


Excerpts from Aaron Griffin's message of Sun May 18 23:43:42 +0200 2008:
> > that would be totally illogical. the point of using ${foo} instead of
> > $foo is that in some cases you really need ${foo}:
> >
> > source=($pkgname_$pkgver) won't work, but source=(${pkgname}_$pkgver)
> > will. (just an example but probably you got the point). because of this,
> > some projects (like gentoo) force the usage of ${foo} everywhere.
> 
> OT: I also enforce it in mkinitcpio scripts. It's not a bad idea, just
> more typing.

I think it's useless. We could also forget about PATH and always use
/usr/bin/find... We could also ALWAYS use quotes.
Now, should we replace:
find . -type f
by:
"/usr/bin/find" "." "-type" "f"
or make light and readable scripts, using the ${} form when necessary?

I think those questions are about do fair things and not make any extreme
choice. That's what I think pragmatism is, and what I love in Archlinux.

Anyway, it's not my call.

-- 
Geoffroy Carrier
http://gcarrier.koon.fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arch
Type: application/octet-stream
Size: 4544 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080519/06c6f0dd/attachment.obj>


More information about the pacman-dev mailing list