commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r533416 - /jakarta/commons/proper/commons-nightly/trunk/get_files.sh
Date Sat, 28 Apr 2007 19:17:53 GMT
Author: psteitz
Date: Sat Apr 28 12:17:52 2007
New Revision: 533416

URL: http://svn.apache.org/viewvc?view=rev&rev=533416
Log:
Directed output to log.

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=533416&r1=533415&r2=533416
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/get_files.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/get_files.sh Sat Apr 28 12:17:52 2007
@@ -1,13 +1,18 @@
 #!/bin/sh
 #
 # Pulls recent commons nightly build artifacts from vmbuild.
+# Uses list of new files generated by commons_nightly.sh to generate wgets.
+#
 # Currently only grabs distros (no jars for maven repos).
+#
+# Overwrites get_files.log with wget output.
 # 
 #
 cd $HOME
 
 # Get list of recent builds generated by commons_nightly.sh on vmbuild
-wget -N http://vmbuild.apache.org/~commons/nightly/new_dist_files.txt
+wget -N http://vmbuild.apache.org/~commons/nightly/new_dist_files.txt\
+ -o ${HOME}/get_files.log
 
 # Loop over files, munging names to wget and move into place
 file_list="new_dist_files.txt"
@@ -16,7 +21,7 @@
 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 $url
+  wget -x -nv $url -a ${HOME}/get_files.log
 
   # Move the file to people web space
   source=${file/\/home\/commons\/public_html\/nightly\//vmbuild.apache.org/~commons/nightly/}



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message