From: simon Date: Mon, 5 Feb 2007 15:01:28 +0000 (+0000) Subject: Fiddle further with .htaccess: add some $s on the ends of the X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/3a017b22323fc0981f83908600ee8d355ed89c73 Fiddle further with .htaccess: add some $s on the ends of the regexps to stop them matching the wrong files. git-svn-id: svn://svn.tartarus.org/sgt/putty@7229 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/Buildscr b/Buildscr index 1709131b..090e89a0 100644 --- a/Buildscr +++ b/Buildscr @@ -99,6 +99,6 @@ deliver putty/windows/*.map maps-x86/$@ 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; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty.tar.gz$$k '$$1'"$$1$$k" >> .htaccess; done +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; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty-installer.exe$$k '$$1'"$$1$$k" >> .htaccess; done +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