From 0865939a56235aa682ce50fbe909f9a3550431ec Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 5 Feb 2007 15:01:28 +0000 Subject: [PATCH] Fiddle further with .htaccess: add some $s on the ends of the regexps to stop them matching the wrong files. [originally from svn r7229] --- Buildscr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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