Re: makepkg creates symlink to the package file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

C Anthony


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux