SVN: people/hawk/ftp_admin/broken-deps-check.sh

hawk hawk at pld-linux.org
Sun May 11 15:11:21 CEST 2008


Author: hawk
Date: Sun May 11 15:11:21 2008
New Revision: 9746

Modified:
   people/hawk/ftp_admin/broken-deps-check.sh
Log:
- fixed tree names in output files


Modified: people/hawk/ftp_admin/broken-deps-check.sh
==============================================================================
--- people/hawk/ftp_admin/broken-deps-check.sh	(original)
+++ people/hawk/ftp_admin/broken-deps-check.sh	Sun May 11 15:11:21 2008
@@ -2,7 +2,7 @@
 
 file_header()
 {
-cat > $2 << EOF
+cat > $3 << EOF
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
@@ -13,7 +13,7 @@
 <body>
 <pre>
 EOF
-echo -e "Broken dependencies in PLD Titanium $1 main tree, $(date +'%d %B %Y, %H:%M')\nNote: some unavoidable broken deps have been filtered out\n"  >> $2
+echo -e "Broken dependencies in PLD Titanium $1 $2 tree(s), $(date +'%d %B %Y, %H:%M')\nNote: some unavoidable broken deps have been filtered out\n"  >> $2
 }
 
 file_footer()
@@ -36,17 +36,17 @@
 check_deps()
 {
 list_name="$HOME/www/$1-main-broken-deps.html"
-file_header $1 $list_name
+file_header $1 "main" $list_name
 gen_list $list_name "-s $HOME/ftp/PLD/$1/RPMS/ -s $HOME/ftp/PLD/noarch/RPMS/"
 file_footer $list_name
 
 list_name="$HOME/www/$1-main+ready-broken-deps.html"
-file_header $1 $list_name
+file_header $1 "main + ready" $list_name
 gen_list $list_name "-s $HOME/ftp/PLD/$1/RPMS/ -s $HOME/ftp/PLD/noarch/RPMS/ -s $HOME/ftp/ready/$1/RPMS/ -s $HOME/ftp/ready/noarch/RPMS/"
 file_footer $list_name
 
 list_name="$HOME/www/$1-main+ready+test-broken-deps.html"
-file_header $1 $list_name
+file_header $1 "main + ready + test" $list_name
 gen_list $list_name "-s $HOME/ftp/PLD/$1/RPMS/ -s $HOME/ftp/PLD/noarch/RPMS/ -s $HOME/ftp/ready/$1/RPMS/ -s $HOME/ftp/ready/noarch/RPMS/ -s $HOME/ftp/test/$1/RPMS/ -s $HOME/ftp/test/noarch/RPMS/"
 file_footer $list_name
 }


More information about the pld-cvs-commit mailing list