From 86f4d81621ea61c8c81243910126cdd865f86a22 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 May 2018 15:56:35 +0200 Subject: Fortify batch files with additional escaping --- bootstrap-mingw.bat | 2 +- bootstrap-msvc.bat | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap-mingw.bat b/bootstrap-mingw.bat index 7ed5fcf..81f1cb1 100644 --- a/bootstrap-mingw.bat +++ b/bootstrap-mingw.bat @@ -12,7 +12,7 @@ echo. echo Usage: %0 [/?] ^ [^...] echo. echo The batch file expects to find the libbutl\ or libbutl-*\ directory -echo either in the current directory (build2 root) or one level up. The +echo either in the current directory ^(build2 root^) or one level up. The echo result is saved as build2\b-boot.exe. echo. echo Example usage: diff --git a/bootstrap-msvc.bat b/bootstrap-msvc.bat index b5a84f4..23cbb80 100644 --- a/bootstrap-msvc.bat +++ b/bootstrap-msvc.bat @@ -14,10 +14,10 @@ echo. echo Normally this batch file is executed from one of the Visual Studio echo command prompts with cl.exe as the compiler executable (^). echo It assumes that all the relevant compiler environment variables -echo (INCLUDE, LIB) are set. +echo ^(INCLUDE, LIB^) are set. echo. echo The batch file expects to find the libbutl\ or libbutl-*\ directory -echo either in the current directory (build2 root) or one level up. The +echo either in the current directory ^(build2 root^) or one level up. The echo result is saved as build2\b-boot.exe. echo. echo Example usage: -- cgit v1.1