]> git.donarmstrong.com Git - bugscan.git/blobdiff - dohtml
* get rid of useless prototypes
[bugscan.git] / dohtml
diff --git a/dohtml b/dohtml
index 316d5ee43eda229908648347759395aa66d0cf8b..9235b196a87b2353a27de194b757e39101df753b 100755 (executable)
--- a/dohtml
+++ b/dohtml
@@ -56,7 +56,7 @@ tags</a>:
 
 <p>
 The second set of tags indicate what releases a bug applies to:
-O for oldstable (sarge), S for stable (lenny), T for testing (squeeze),
+O for oldstable (etch), S for stable (lenny), T for testing (squeeze),
 U for unstable (sid) or E for experimental.
 
 <p>
@@ -145,8 +145,8 @@ makepage() {
        mv -f $3.new $3
 }
 
-time=$(date -u --date="$(ls -Ll status | awk '{print $6, $7}'):00 $(date +%z)")
-oldtime=$(date -u --date="$(ls -Ll status-old | awk '{print $6, $7}'):00 $(date +%z)")
+time=$(date -u -d '@'$(($(stat -c '%Y' status) / 3600 * 3600)))
+oldtime=$(date -u -d '@'$(($(stat -c '%Y' status-old) / 3600 * 3600)))
 title="Release-critical bugs status"
 
 makepage "debian" "$title" "$htmldir/debian/all.html" "$time"