summaryrefslogtreecommitdiff
path: root/darcs-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-11 00:13:48 +0000
committerIan Lynagh <igloo@earth.li>2008-09-11 00:13:48 +0000
commitb6442e8137ca34e5cb7fa4d52acda0d97d204071 (patch)
tree2c04aa391241be0da459033dfc930c56a872125e /darcs-all
parent299c3d09f5d97c034ce0675d04cc65b9860eb73a (diff)
downloadhaskell-b6442e8137ca34e5cb7fa4d52acda0d97d204071.tar.gz
Tell perl to autoflush output in darcs-all. Suggested by Claus Reinke
Diffstat (limited to 'darcs-all')
-rw-r--r--darcs-all2
1 files changed, 2 insertions, 0 deletions
diff --git a/darcs-all b/darcs-all
index c960d07c62..6e48377c20 100644
--- 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`;