3
0
Fork 0
forked from mirrors/nixpkgs

Fix inputproto and probably other packages

"grep Requires" failed on *.pc files that had no Requires fields, due
to pipefail. But this error was previously masked by #7524.
This commit is contained in:
Eelco Dolstra 2015-05-13 13:53:40 +02:00
parent 0cc883f2ee
commit e8e0995bd0

View file

@ -9,8 +9,10 @@ postInstall() {
if test -n "$origPostInstall"; then eval "$origPostInstall"; fi
local r p requires
set +o pipefail
requires=$(grep "Requires:" $out/lib/pkgconfig/*.pc | \
sed "s/Requires://" | sed "s/,/ /g")
set -o pipefail
echo "propagating requisites $requires"