summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-09 17:35:29 +0000
committerKarl Berry <karl@freefriends.org>2008-11-09 17:35:29 +0000
commit91cefa526cdd86d19e6ea8a2e75bbc7a7578a131 (patch)
tree72f54c3aa8b506ce67d93033297e592d5eff0cd0 /Master/tlpkg/bin
parentd2fb120ef37a8c3baa346ac97008c4c9b2f0d56a (diff)
try flushing stderr
git-svn-id: svn://tug.org/texlive/trunk@11234 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tlpsrc2tlpdb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tlpsrc2tlpdb b/Master/tlpkg/bin/tlpsrc2tlpdb
index fae637efeea..eec8ee5a0c0 100755
--- a/Master/tlpkg/bin/tlpsrc2tlpdb
+++ b/Master/tlpkg/bin/tlpsrc2tlpdb
@@ -24,6 +24,9 @@ use Getopt::Long;
use Pod::Usage;
use File::Path;
+# flush stderr please, mysterious newline.
+select((select(STDERR), $| = 1)[0]);
+
my $opt_all = 0;
my $opt_catalogue = "";
chomp (my $opt_master = `cd $::mydir/../.. && pwd`);