From 470337d0f2591534221390f50a69f8c9f6fe0558 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 17 Nov 2015 18:41:52 +0000 Subject: [PATCH] Convert Buildscr to use the new "do/win" mechanism. --- Buildscr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Buildscr b/Buildscr index 466571bc..86532214 100644 --- a/Buildscr +++ b/Buildscr @@ -150,12 +150,12 @@ in putty do perl -i~ -pe 'y/\015//d;s/$$/\015/' LICENCE delegate windows # FIXME: Cygwin alternative? - in putty/windows do cmd /c vcvars32 \& nmake -f Makefile.vc $(Makeargs) + in putty/windows do/win vcvars32 && nmake -f Makefile.vc $(Makeargs) # Ignore exit code from hhc, in favour of seeing whether the .chm # file was created. (Yuck; but hhc appears to return non-zero # exit codes on whim.) - in putty/doc do hhc putty.hhp; test -f putty.chm - in putty/windows do iscc putty.iss + in putty/doc do/win hhc putty.hhp & type putty.chm >nul + in putty/windows do/win iscc putty.iss return putty/windows/*.exe return putty/windows/*.map return putty/doc/putty.chm