turn off buffering of '.'s printed while you wait

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1131073 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-06-03 15:26:37 +00:00
parent ff838ec92f
commit b1aa9f6d56
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ unless (defined($version) && $version =~ /\d+(?:\.\d+)+/) {
exit(1);
}
my $previously_selected = select STDOUT;
$| = 1;
select $previously_selected;
my $apache_backup_url = "http://www.apache.org/dist//lucene/java/$version/lucene-$version.tgz.asc";
my $maven_url = "http://repo2.maven.org/maven2/org/apache/lucene/lucene-core/$version/lucene-core-$version.pom";