diff options
author | Ville Skytt? <ville.skytta@iki.fi> | 2010-06-29 20:05:03 +0300 |
---|---|---|
committer | Ville Skytt? <ville.skytta@iki.fi> | 2010-06-29 20:05:03 +0300 |
commit | 057765847c7f5b78acf277944beb98f554fe9a11 (patch) | |
tree | 02e47c3147cbeaa22cd36ddb02926cfbfbea688b /misc/mkrelease.sh | |
parent | 3d7d135267daa00554687ef6e2a54db85de2830c (diff) | |
download | markup-validator-057765847c7f5b78acf277944beb98f554fe9a11.zip markup-validator-057765847c7f5b78acf277944beb98f554fe9a11.tar.gz markup-validator-057765847c7f5b78acf277944beb98f554fe9a11.tar.bz2 |
Try to cheat HTML::Template into refreshing its cache on upgrades.
While it does check file timestamps, it does not check options to new()
as of 2.9 which may result in it using stale cached templates and produce
incorrect results if those options have changed between validator releases.
See HTML::Template's "cache" option for more info.
Diffstat (limited to 'misc/mkrelease.sh')
-rwxr-xr-x | misc/mkrelease.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/mkrelease.sh b/misc/mkrelease.sh index bd088cf..880f8df 100755 --- a/misc/mkrelease.sh +++ b/misc/mkrelease.sh @@ -44,6 +44,10 @@ find . -type f | xargs -r chmod 644 chmod 755 validator-$version/httpd/cgi-bin/check chmod 755 validator-$version/httpd/cgi-bin/sendfeedback.pl +# Try to cheat HTML::Template into refreshing its possible caches (it doesn't +# take options for new() into account when determining freshness as of 2.9). +touch validator-$version/share/templates/*/*.tmpl + # sgml-lib tarball tar zc --owner=0 --group=0 -f $topdir/sgml-lib-$tbversion.tar.gz \ validator-$version/htdocs/sgml-lib |