Unless compiled specially just to avoid it, bash gives an occasional
disconcerting (but spurious) warning when a process at the receiving
side of a shell pipe closes before the sender has flushed all of its
data. `quilt refresh' is particularly prone.
This patch simply redirects stderr to /dev/null in the one instance
that seems to be the root of the problem, and thus saves the bother
of recompiling bash.
quilt/refresh.in | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: quilt-HEAD/quilt/refresh.in
===================================================================
--- quilt-HEAD.orig/quilt/refresh.in
+++ quilt-HEAD/quilt/refresh.in
@@ -247,7 +247,7 @@ fi
mkdir -p $(dirname $patch_file)
-if ! cat_file $patch_file | patch_header > $tmp_header
+if ! cat_file $patch_file 2>/dev/null | patch_header > $tmp_header
then
die 1
fi
--
Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev