[Catalyst-commits] r10400 - trunk/examples/SmokeServer/script

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Sat May 30 23:56:55 GMT 2009


Author: caelum
Date: 2009-05-30 23:56:55 +0000 (Sat, 30 May 2009)
New Revision: 10400

Modified:
   trunk/examples/SmokeServer/script/cpan_download
Log:
fix cpan downloader

Modified: trunk/examples/SmokeServer/script/cpan_download
===================================================================
--- trunk/examples/SmokeServer/script/cpan_download	2009-05-30 23:04:58 UTC (rev 10399)
+++ trunk/examples/SmokeServer/script/cpan_download	2009-05-30 23:56:55 UTC (rev 10400)
@@ -7,7 +7,7 @@
 
 # Pick one from http://cpan.org/SITES.html#RSYNC
 
-REMOTEHOST='mirror.facebook.com'
+REMOTEHOST='mirror.netcologne.de'
 REMOTEPREFIX='cpan'
 
 LOCAL=$(perl -MFile::Basename=dirname -MCwd=abs_path -le 'print abs_path(dirname("'$0'")."/../cpan")')
@@ -60,5 +60,5 @@
 cd extracted
 rm -rf *
 
-find authors/id -name '*.zip'    | while read f; do (cd extracted; unzip ../$f  ); done
-find authors/id -name '*.tar.gz' | while read f; do (cd extracted; tar zxf ../$f); done
+find ../authors/id -name '*.zip'    | while read f; do unzip $f  ; done
+find ../authors/id -name '*.tar.gz' | while read f; do tar zxf $f; done




More information about the Catalyst-commits mailing list