From b506a1b3c7e90e8b9245f764ccdf4e5019be5bcd Mon Sep 17 00:00:00 2001 From: Michael van Elst Date: Sat, 16 Aug 2003 16:30:49 +0000 Subject: [PATCH] avoid 'Broken Pipe' messages on some systems --- openpkg-tool/openpkg-index.pl | 1 + openpkg-tool/openpkg-tool.spec | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/openpkg-tool/openpkg-index.pl b/openpkg-tool/openpkg-index.pl index 939a17414b..8cf25fad28 100644 --- a/openpkg-tool/openpkg-index.pl +++ b/openpkg-tool/openpkg-index.pl @@ -654,6 +654,7 @@ EOFEOF sub rpm2spec ($) { my($fn) = @_; + local($SIG{'PIPE'}) = 'IGNORE'; my($pipe) = new FileHandle "$R2C '$fn' |" or die "FATAL: cannot read '$fn' ($!)\n"; my($buf,@hdr,$n,$m,$name,$step); diff --git a/openpkg-tool/openpkg-tool.spec b/openpkg-tool/openpkg-tool.spec index a0fbe92971..eec626fc23 100644 --- a/openpkg-tool/openpkg-tool.spec +++ b/openpkg-tool/openpkg-tool.spec @@ -32,8 +32,8 @@ Packager: The OpenPKG Project Distribution: OpenPKG [PLUS] Group: Bootstrapping License: GPL -Version: 20030803 -Release: 20030803 +Version: 20030816 +Release: 20030816 # list of sources Source0: openpkg.sh