summaryrefslogtreecommitdiffstats
path: root/web-export/update.py
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2012-01-25 09:22:35 +0100
committerVincent Untz <vuntz@gnome.org>2012-01-25 09:22:35 +0100
commit9f7664fc3a6e0f55ee2eb49d14874ec9f0603d7e (patch)
tree09d869330818faab9d9c30d22cc12ca7111c6187 /web-export/update.py
parentb8adc0518bf4a38686f194a3e1b5059311ed78db (diff)
downloadxdg-specs-9f7664fc3a6e0f55ee2eb49d14874ec9f0603d7e.tar.xz
web-export: Fix latest html links to have latest in the filename
Diffstat (limited to 'web-export/update.py')
-rwxr-xr-xweb-export/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-export/update.py b/web-export/update.py
index 1f43676..a84cffc 100755
--- a/web-export/update.py
+++ b/web-export/update.py
@@ -198,7 +198,7 @@ class SpecObject():
if self.ext == '.xml':
# One-chunk HTML
- html_path_latest = os.path.join(self.spec_dir, '%s%s' % (self.basename_no_ext, '.html'))
+ html_path_latest = os.path.join(self.spec_dir, '%s-latest%s' % (self.basename_no_ext, '.html'))
if os.path.exists(html_path_latest):
os.unlink(html_path_latest)