Re: makechrootpkg and multiple sources, a bug?

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



On 02/20/2011 07:04 PM, Magnus Therning wrote:

The source array is modified based on files in the dir holding the
PKGBUILD, like this:

if [[ -f my.patch ]]; then
sources=(${sources[@] my.patch)
fi

I modified the little build script used by makechrootpkg
(/chrootbuild) to export SRCDEST, but that still didn't do it.  How
can I detect within a PKGBUILD that the build is invoked by
makechrootpkg in an elegant way?

/M


i don't understand why you want to split like that the sources array. Just declare it once and get over it.

sources=(link1 my.patch)

makepkg -g >> PKGBUILD

--
Ionuț


[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