[pacman-dev] Fwd: [PATCH] repo-add: fix eval and quote issues

Xavier shiningxc at gmail.com
Mon Feb 9 14:45:26 EST 2009


On Mon, Feb 9, 2009 at 8:28 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
>
> The reason I used eval originally was to catch the
> pkgver=${_somever/-/_} type stuff. Does using declare still work that
> way?
>

Afaik, makepkg sources the PKGBUILD already and creates the .PKGINFO
file based on that, so all variables have already been evaluated. I
don't see any reason to do it again when repo-add reads the PKGINFO
file.


More information about the pacman-dev mailing list