[pacman-dev] [PATCH] makepkg: enable passing PKGBUILD from pipe
Dan McGee
dpmcgee at gmail.com
Tue Oct 28 23:33:31 EDT 2008
On Tue, Oct 28, 2008 at 10:13 PM, Allan McRae <allan at archlinux.org> wrote:
> Dan McGee wrote:
>>
>> On Tue, Oct 28, 2008 at 7:07 AM, Allan McRae <allan at archlinux.org> wrote:
>>
>>>
>>> Do not attemp to update pkgver/pkgrel when reading a SCM based PKGBUILD
>>> from a pipe. Fixes FS#9187.
>>>
>>
>> So the patch makes sense, but I'm not quite seeing that it is this easy.
>>
>> dmcgee at galway /tmp/test
>> $ ls
>>
>> dmcgee at galway /tmp/test
>> $ ls ../
>> PKGBUILD ssh-RWLFkm5100
>>
>> dmcgee at galway /tmp/test
>> $ makepkg < ../PKGBUILD
>> ==> ERROR: PKGBUILD does not exist.
>>
>
> Well, it gets us part of the way there... "makepkg -p /dev/stdin <
> ../PKGBUILD" now works which was the example given in the bug report. You
> can just remove the "Fixes FS#" comment for the time being.
Ahh yeah, I forgot about that rather crazy example. The patch is
worthwhile anyway, so I will apply it.
-Dan
More information about the pacman-dev
mailing list