From: simon Date: Mon, 5 Feb 2007 14:23:34 +0000 (+0000) Subject: HTTP redirects for the variably-named signatures as well as their X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/1859f55c65f12aeb0d58362644c37ff6f35108f3 HTTP redirects for the variably-named signatures as well as their base files. (The signatures aren't actually _generated_ by bob, of course, but the redirects are harmless in their absence.) git-svn-id: svn://svn.tartarus.org/sgt/putty@7228 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/Buildscr b/Buildscr index acdfa1c6..1709131b 100644 --- a/Buildscr +++ b/Buildscr @@ -96,10 +96,9 @@ deliver putty/windows/*.map maps-x86/$@ # And construct .htaccess files. One in the top-level directory, # setting the MIME types for Windows help files and providing an # appropriate link to the source archive: -in-dest . do echo "AddType application/octet-stream .chm" > .htaccess +in-dest . do echo "AddType application/octet-stream .chm" >> .htaccess in-dest . do echo "AddType application/octet-stream .hlp" >> .htaccess in-dest . do echo "AddType application/octet-stream .cnt" >> .htaccess -in-dest . do set -- putty*.tar.gz; echo RedirectMatch temp '(.*/)'putty.tar.gz '$$1'"$$1" >> .htaccess +in-dest . do set -- putty*.tar.gz; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty.tar.gz$$k '$$1'"$$1$$k" >> .htaccess; done # And one in the x86 directory, providing a link for the installer. -in-dest x86 do set -- putty*installer.exe; echo RedirectMatch temp '(.*/)'putty-installer.exe '$$1'"$$1" > .htaccess - +in-dest x86 do set -- putty*installer.exe; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty-installer.exe$$k '$$1'"$$1$$k" >> .htaccess; done