From: Hiroshi Inoue Date: Sat, 10 Sep 2016 06:07:59 +0000 (+0900) Subject: Modify helper batch commands so that they can handle path names which contain spaces. X-Git-Tag: REL-09_06_0100~92 X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=17dad8721506f864ae91ffc9ec0fc7309ec26771;p=psqlodbc.git Modify helper batch commands so that they can handle path names which contain spaces. --- diff --git a/BuildAll.bat b/BuildAll.bat index 8ee7739..c0557ef 100755 --- a/BuildAll.bat +++ b/BuildAll.bat @@ -3,9 +3,9 @@ :: @echo off if "%1" == "/?" ( - powershell Get-Help %~dp0\winbuild\BuildAll.ps1 -detailed + powershell Get-Help '%~dp0\winbuild\BuildAll.ps1' -detailed ) else if "%1" == "-?" ( - powershell Get-Help %~dp0\winbuild\BuildAll.ps1 %2 %3 %4 %5 %6 %7 %8 %9 + powershell Get-Help '%~dp0\winbuild\BuildAll.ps1' %2 %3 %4 %5 %6 %7 %8 %9 ) else ( - powershell %~dp0\winbuild\BuildAll.ps1 %* + powershell "& '%~dp0\winbuild\BuildAll.ps1' %*" ) diff --git a/buildInstallers.bat b/buildInstallers.bat index 2e8e85c..478b29c 100755 --- a/buildInstallers.bat +++ b/buildInstallers.bat @@ -3,9 +3,9 @@ :: @echo off if "%1" == "/?" ( - powershell Get-Help %~dp0\installer\buildInstallers.ps1 -detailed + powershell Get-Help '%~dp0\installer\buildInstallers.ps1' -detailed ) else if "%1" == "-?" ( - powershell Get-Help %~dp0\installer\buildInstallers.ps1 %2 %3 %4 %5 %6 %7 %8 %9 + powershell Get-Help '%~dp0\installer\buildInstallers.ps1' %2 %3 %4 %5 %6 %7 %8 %9 ) else ( - powershell %~dp0\installer\buildInstallers.ps1 %* + powershell "& '%~dp0\installer\buildInstallers.ps1' %*" ) diff --git a/editConfiguration.bat b/editConfiguration.bat index 1ec9013..ee37fac 100755 --- a/editConfiguration.bat +++ b/editConfiguration.bat @@ -1,4 +1,4 @@ :: :: Start editConfiguration with a mimimized console window :: -powershell -Sta -WindowStyle Minimized %~dp0\winbuild\editConfiguration.ps1 %* +powershell -Sta -WindowStyle Minimized "& '%~dp0\winbuild\editConfiguration.ps1' %*" diff --git a/regress.bat b/regress.bat index cf7e34e..68e1751 100755 --- a/regress.bat +++ b/regress.bat @@ -3,9 +3,9 @@ :: @echo off if "%1" == "/?" ( - powershell Get-Help %~dp0\winbuild\regress.ps1 -detailed + powershell Get-Help '%~dp0\winbuild\regress.ps1' -detailed ) else if "%1" == "-?" ( - powershell Get-Help %~dp0\winbuild\regress.ps1 %2 %3 %4 %5 %6 %7 %8 %9 + powershell Get-Help '%~dp0\winbuild\regress.ps1' %2 %3 %4 %5 %6 %7 %8 %9 ) else ( - powershell %~dp0\winbuild\regress.ps1 %* + powershell "& '%~dp0\winbuild\regress.ps1' %*" )