[aur-dev] Safe and relatively reliable PKGBUILD parser.
Loui Chang
louipc.ist at gmail.com
Sat Jan 9 16:02:29 EST 2010
On Sat 09 Jan 2010 21:23 +0100, Xyne wrote:
> You haven't fully understood how it works so I hope you don't mind if I
> try to explain it again.
>
> I first check the PKGBUILD with "/bin/bash -n PKGBUILD". If this
> command exits without error then the PKGBUILD contains valid syntax,
> most importantly it does not contain extra closing brackets ("}").
> [...]
Wow this is quite clever. It definitely would make the job of parsing
much easier. Thanks for the explanation.
More information about the aur-dev
mailing list