On Tue, Jun 29, 2010 at 1:20 PM, C Anthony Risinger <anthony@xxxxxxxx> wrote: > On Sat, Jun 26, 2010 at 2:29 AM, Attila <vodoo0904@xxxxxxxxxxxxxxxx> wrote: >> At Samstag, 26. Juni 2010 07:38 Ray Rashif wrote: >> >>> [1] http://www.mail-archive.com/pacman-dev@xxxxxxxxxxxxx/msg03794.html >> >> Thanks for this information. It seems that at no point it was thought about a >> config variable and therefore we have to live with it. > > this is all fine and dandy to me. however one little bug: > > PKGDEST="." makepkg > > will fail due the the fact that the real package will be overridden by > the symlink. result is a circular symbolic link. makepkg should > check for this [corner] case, and simply not create the link. > > i needed this for a script that automatically builds a package with > the option to install and/or push to AUR. i wanted to sandbox it so > it would not be affected by the user's makepkg.conf settings. > > workaround by making a dummy folder called "out" and sending the > package there instead. Wouldn't just setting PKGDEST to nothing instead of "." cover this?