X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/1859f55c65f12aeb0d58362644c37ff6f35108f3..136519370f4a3d08e5db701b894e394494056bcb:/Buildscr?ds=sidebyside diff --git a/Buildscr b/Buildscr index 1709131b..d48f5a48 100644 --- a/Buildscr +++ b/Buildscr @@ -5,6 +5,7 @@ module putty # Set up the arguments for the main make command. set Makever -DSVN_REV=$(revision) +ifneq "$(!numeric $(revision))" "yes" set Makever $(Makever) -DMODIFIED ifneq "$(RELEASE)" "" set Makever $(Makever) -DRELEASE=$(RELEASE) ifneq "$(date)" "" set Makever $(Makever) -DSNAPSHOT=$(date) set Makeargs VER="$(Makever)" @@ -99,6 +100,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