Author: psteitz
Date: Thu Apr 26 20:54:41 2007
New Revision: 532949

URL: http://svn.apache.org/viewvc?view=rev&rev=532949
Log:
Fixed path errors, added -N to wget on file list.

Modified:
    jakarta/commons/proper/commons-nightly/trunk/get_files.sh

Modified: jakarta/commons/proper/commons-nightly/trunk/get_files.sh
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/get_files.sh?view=diff&rev=532949&r1=532948&r2=532949
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/get_files.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/get_files.sh Thu Apr 26 
20:54:41 2007
@@ -7,7 +7,7 @@
 cd $HOME
 
 # Get list of recent builds generated by commons_nightly.sh on vmbuild
-wget http://vmbuild.apache.org/~commons/nightly/new_dist_files.txt
+wget -N http://vmbuild.apache.org/~commons/nightly/new_dist_files.txt
 
 # Loop over files, munging names to wget and move into place
 file_list="new_dist_files.txt"
@@ -15,13 +15,13 @@
 for file in $files
 do
   # Get the file, creating vmbuild.apache.org dir structure under $HOME
-  
url=${file/\/home\/commons\/public_html\/nightly\/\//http:\/\/vmbuild.apache.org\/~commons\/nightly/}
-  wget -x -w 2 $url
+  
url=${file/\/home\/commons\/public_html\/nightly\//http:\/\/vmbuild.apache.org\/~commons\/nightly/}
+  wget -x $url
 
   # Move the file to people web space
-  
source=${file/\/home\/commons\/public_html\/nightly\/\//vmbuild.apache.org/~commons/nightly/}
+  
source=${file/\/home\/commons\/public_html\/nightly\//vmbuild.apache.org/~commons/nightly/}
   source_path=`dirname $source`
-  
dest_path=${source_path/vmbuild.apache.org\/~commons\/nightly\//\/www\/people.apache.org\/builds\/jakarta-commons\/nightly/}
+  
dest_path=${source_path/vmbuild.apache.org\/~commons\/nightly\/builds\//\/www\/people.apache.org\/builds\/jakarta-commons\/nightly/}
   mkdir -p $dest_path
   mv $source $dest_path
 done



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to