summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-04 16:44:53 +0100
committerIan Lynagh <igloo@earth.li>2011-04-04 16:44:53 +0100
commit2fe9913d68e5f9031a41aafb08b3eba0b2f7b6ab (patch)
treec4b69db32ea58005fc15a893d992bd667e88cf39 /sync-all
parent93e7418f729b6f4329d7436efd7108066ca76925 (diff)
downloadhaskell-2fe9913d68e5f9031a41aafb08b3eba0b2f7b6ab.tar.gz
Turn on autoflush in sync-all
darcs-all did it, so sync-all probably should too.
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 37f2d813a9..743d3e6573 100755
--- a/sync-all
+++ b/sync-all
@@ -59,6 +59,8 @@ use Cwd;
# root one. So the remote repos must be laid out in one of the two
# formats given by <local-path> and <remote-path> in the file 'packages'.
+$| = 1; # autoflush stdout after each print, to avoid output after die
+
my $defaultrepo;
my @packages;
my $verbose = 2;