]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix misspelled redirect of the 64-bit installer.
authorSimon Tatham <anakin@pobox.com>
Sat, 21 Jan 2017 15:29:50 +0000 (15:29 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 21 Jan 2017 15:29:50 +0000 (15:29 +0000)
The .htaccess written by Buildscr into the w64 directory was applying
a redirect from 'putty-installer.msi', but in fact the name by which
the website links to snapshot and prerelease installers in that
directory is 'putty-64bit-installer.msi'.

Buildscr

index ba55429feddb92b4da7370fbeb90b5fa2c784e6a..cff7f8685700d03eed1a4b629f8171e6d6a79080 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -254,4 +254,4 @@ in-dest putty do echo "AddType application/octet-stream .hlp" >> .htaccess
 in-dest putty do echo "AddType application/octet-stream .cnt" >> .htaccess
 in-dest putty do set -- putty*.tar.gz; for k in '' .gpg; do echo RedirectMatch temp '(.*/)'putty.tar.gz$$k\$$ '$$1'"$$1$$k" >> .htaccess; done
 # And one in each binary directory, providing links for the installers.
-in-dest putty do for subdir in w32 w64; do (cd $$subdir && for ext in msi exe; do set -- putty*installer.$$ext; if test -f $$1; then for k in '' .gpg; do echo RedirectMatch temp '(.*/)'putty-installer.$$ext$$k\$$ '$$1'"$$1$$k" >> .htaccess; done; fi; done); done
+in-dest putty do for params in "w32 putty-installer" "w64 putty-64bit-installer"; do (set -- $$params; subdir=$$1; installername=$$2; cd $$subdir && for ext in msi exe; do set -- putty*installer.$$ext; if test -f $$1; then for k in '' .gpg; do echo RedirectMatch temp '(.*/)'$${installername}.$$ext$$k\$$ '$$1'"$$1$$k" >> .htaccess; done; fi; done); done