[arch-dev-public] [PATCH] makechrootpkg: Use the host's SRCDEST and PKGDEST if they are defined

Firmicus Firmicus at gmx.net
Thu Nov 5 12:03:05 EST 2009

Daenyth Blank wrote:
> On Thu, Nov 5, 2009 at 12:53, Firmicus <Firmicus at gmx.net> wrote:
>> Better look for a safer alternative. What about this?
>> PKGDEST=$(source /etc/makepkg.conf && echo $PKGDEST)
> That's actually more dangerous than the eval, since you are
> essentially eval-ing the entire file.
Again you're right. Somehow I thought source only affected variables,
but actually it does also eval each line of the sourced file. Sorry for
the noise.

More information about the arch-dev-public mailing list