You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2012/06/07 04:02:13 UTC

svn commit: r1347294 - /openejb/site/trunk/cgi-bin/latest.cgi

Author: dblevins
Date: Thu Jun  7 02:02:13 2012
New Revision: 1347294

URL: http://svn.apache.org/viewvc?rev=1347294&view=rev
Log:
use plain wget instead

Modified:
    openejb/site/trunk/cgi-bin/latest.cgi

Modified: openejb/site/trunk/cgi-bin/latest.cgi
URL: http://svn.apache.org/viewvc/openejb/site/trunk/cgi-bin/latest.cgi?rev=1347294&r1=1347293&r2=1347294&view=diff
==============================================================================
--- openejb/site/trunk/cgi-bin/latest.cgi (original)
+++ openejb/site/trunk/cgi-bin/latest.cgi Thu Jun  7 02:02:13 2012
@@ -3,13 +3,9 @@
 use strict;
 use warnings;
 
-use LWP;
-
 print "Content-Type: text/html\n\n";
 
-my $ua = LWP::UserAgent->new();
-
-my $content = $ua->get("http://repository.apache.org/snapshots/org/apache/openejb/apache-tomee/1.0.1-SNAPSHOT/")->content;
+my $content = `wget -O - -q http://repository.apache.org/snapshots/org/apache/openejb/apache-tomee/1.0.1-SNAPSHOT/`;
 
 $content = join(" ", split("[ \r\n]+", $content));
 $content =~ s/(<tr>)/\n$1/g;