[pacman-dev] [PATCH v2] makepkg: Empty/create only $pkgdir's relevant to current PKGBUILD

David Macek david.macek.0 at gmail.com
Thu Mar 26 13:59:31 UTC 2015


On 26. 3. 2015 14:53, Dave Reisner wrote:
>> +		for pkg in $pkgname; do
> 
> This can't be right -- you wanted "${pkgname[@]}" (with quotes).
> 
>> +			rm -rf "$pkgdirbase/$pkg"
>> +		done

I wasn't completely sure about it, but I don't think pkgnames can contain whitespace and it is what Allan suggested. Maybe I wasn't supposed to copy it verbatim.

Am I missing `local pkg` there somewhere?

-- 
David Macek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4234 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20150326/f1d3d59a/attachment.p7s>


More information about the pacman-dev mailing list