From: Simon Tatham Date: Sat, 21 Jan 2017 15:29:50 +0000 (+0000) Subject: Fix misspelled redirect of the 64-bit installer. X-Git-Tag: 0.68~79 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=73e5b6db25f4f2e3b3a52744d0a8df5acc98ef4d;p=PuTTY.git Fix misspelled redirect of the 64-bit installer. 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'. --- diff --git a/Buildscr b/Buildscr index ba55429f..cff7f868 100644 --- 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