/[qa]/trunk/pts/www/bin/generate_html.sh
ViewVC logotype

Diff of /trunk/pts/www/bin/generate_html.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1932 by zack, Fri Jan 25 17:58:44 2008 UTC revision 1933 by zack, Fri Aug 8 17:19:52 2008 UTC
# Line 58  do Line 58  do
58          needupdate="yes"          needupdate="yes"
59      fi      fi
60      # Create parameters and check if an update is needed      # Create parameters and check if an update is needed
61      for i in news excuse other volatile s-p-u t-p-u oldstable oldstable-security stable-security testing-security experimental stable testing unstable      # XXX order _does_ matter, the latter has precedence over the former
62        for i in news excuse other mentors volatile s-p-u t-p-u oldstable \
63          oldstable-security stable-security testing-security experimental stable \
64          testing unstable
65      do      do
66          if [ -f "$dir/$i.xml" ]; then          if [ -f "$dir/$i.xml" ]; then
67              # Input is the main xml file used by xsltproc to generate the HTML              # Input is the main xml file used by xsltproc to generate the HTML
68              # page. By default it is unstable.xml but it has many              # page. By default it is unstable.xml but it has many
69              # fallbacks (testing.xml, stable.xml, experimental.xml, ...)              # fallbacks (testing.xml, stable.xml, experimental.xml, ...)
70              input=$dir/$i.xml              if [ "$i" != "mentors" ] ; then
71                  # mentors.d.n needs special handling, because we don't want a PTS
72                  # page to exist for packages only available on mentors.d.n
73                  input=$dir/$i.xml
74                fi
75              param="$param --stringparam has$i yes"              param="$param --stringparam has$i yes"
76          fi          fi
77          if [ "$needupdate" = "no" -a "$dir/$i.xml" -nt "$htmlfile" ]; then          if [ "$needupdate" = "no" -a "$dir/$i.xml" -nt "$htmlfile" ]; then

Legend:
Removed from v.1932  
changed lines
  Added in v.1933

  ViewVC Help
Powered by ViewVC 1.1.5