Tell perl to autoflush output in darcs-all. Suggested by Claus Reinke
authorIan Lynagh <igloo@earth.li>
Thu, 11 Sep 2008 00:13:48 +0000 (00:13 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 11 Sep 2008 00:13:48 +0000 (00:13 +0000)
darcs-all

index c960d07..6e48377 100644 (file)
--- a/darcs-all
+++ b/darcs-all
@@ -20,6 +20,8 @@ use strict;
 #       ./darcs-all -q send --dry-run
 #   -q says to be quite, and -s to be silent.
 
+$| = 1; # autoflush stdout after each print, to avoid output after die
+
 # Figure out where to get the other repositories from,
 # based on where this GHC repo came from.
 my $defaultrepo = `cat _darcs/prefs/defaultrepo`;