FS#9187 - makepkg -p can't read from pipe
Attached to Project:
Pacman
Opened by Jáchym Barvínek (kamahl) - Sunday, 13 January 2008, 10:57 GMT
Last edited by Dan McGee (toofishes) - Saturday, 01 November 2008, 01:00 GMT
Opened by Jáchym Barvínek (kamahl) - Sunday, 13 January 2008, 10:57 GMT
Last edited by Dan McGee (toofishes) - Saturday, 01 November 2008, 01:00 GMT
|
Details
Description:
makepkg -p pipe shows: ==> ERROR: /dev/stdin does not exist. But it may be sometimes comfortable to paste PKGBUILD to /dev/stdin for example. Additional info: makepkg --version makepkg (pacman) 3.1.0 Steps to reproduce: e.g.: makepkg -p /dev/stdin |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 01 November 2008, 01:00 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/?p=pacman. git;a=commitdiff;h=8d33dcb81c464f5e42d83 078472bc509e087dd62
http://projects.archlinux.org/?p=pacman. git;a=commitdiff;h=c4b9991258fb360e0d140 a84efe7803eb633df79
Saturday, 01 November 2008, 01:00 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/?p=pacman. git;a=commitdiff;h=8d33dcb81c464f5e42d83 078472bc509e087dd62
http://projects.archlinux.org/?p=pacman. git;a=commitdiff;h=c4b9991258fb360e0d140 a84efe7803eb633df79
What!? Sure it exists, since I installed my Arch. I often use it. It's a symlink to /proc/self/fd/0
ls /dev|grep std
stderr
stdin
stdout
But I don't really get the point of that feature request, and I don't see how it would work.
$ makepkg -p /proc/self/fd/0 < /var/abs/local/pacman-git/PKGBUILD
==> Determining latest git revision...
-> Version found: 20080206
sed: can't read .//proc/self/fd/0: No such file or directory
sed -i "s/^pkgver=[^ ]*/pkgver=$newpkgver/" ./$BUILDSCRIPT
which of course fails...