From 802bf0b615466e3526e5a405d2f6b65eb880682b Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Thu, 26 Apr 2012 01:34:28 +0100 Subject: [PATCH] Allow paths containing spaces --- SparkleLib/windows/SparkleLib.Git.csproj | 2 +- SparkleLib/windows/SparkleLib.csproj | 2 +- SparkleShare/Windows/SparkleShare.csproj | 2 +- SparkleShare/Windows/build.cmd | 4 ++-- SparkleShare/Windows/tools/TextTemplating/build.cmd | 2 +- SparkleShare/Windows/tools/xslt/build.cmd | 2 +- data/plugins/build.cmd | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/SparkleLib/windows/SparkleLib.Git.csproj b/SparkleLib/windows/SparkleLib.Git.csproj index b3c1535d..d338f639 100644 --- a/SparkleLib/windows/SparkleLib.Git.csproj +++ b/SparkleLib/windows/SparkleLib.Git.csproj @@ -86,6 +86,6 @@ --> - $(ProjectDir)transform_tt.cmd + "$(ProjectDir)transform_tt.cmd" diff --git a/SparkleLib/windows/SparkleLib.csproj b/SparkleLib/windows/SparkleLib.csproj index e25b60ad..c3837404 100644 --- a/SparkleLib/windows/SparkleLib.csproj +++ b/SparkleLib/windows/SparkleLib.csproj @@ -163,6 +163,6 @@ - $(ProjectDir)transform_tt.cmd + "$(ProjectDir)transform_tt.cmd" \ No newline at end of file diff --git a/SparkleShare/Windows/SparkleShare.csproj b/SparkleShare/Windows/SparkleShare.csproj index 32f6f5a5..7ac4378b 100644 --- a/SparkleShare/Windows/SparkleShare.csproj +++ b/SparkleShare/Windows/SparkleShare.csproj @@ -177,7 +177,7 @@ - $(ProjectDir)transform_tt.cmd + "$(ProjectDir)transform_tt.cmd" diff --git a/SparkleShare/Windows/build.cmd b/SparkleShare/Windows/build.cmd index 5a8568c8..9a739dbf 100644 --- a/SparkleShare/Windows/build.cmd +++ b/SparkleShare/Windows/build.cmd @@ -11,8 +11,8 @@ set wixBinDir=%WIX%\bin if not exist ..\..\bin mkdir ..\..\bin copy ..\..\data\icons\sparkleshare.ico ..\..\bin\ -%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="AnyCPU" %~dp0\tools\gettext-cs-utils\Gettext.CsUtils\Core\Gettext.Cs\Gettext.Cs.csproj -%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" %~dp0\SparkleShare.sln +%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="AnyCPU" "%~dp0\tools\gettext-cs-utils\Gettext.CsUtils\Core\Gettext.Cs\Gettext.Cs.csproj" +%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" "%~dp0\SparkleShare.sln" if "%1"=="installer" ( if exist "%wixBinDir%" ( diff --git a/SparkleShare/Windows/tools/TextTemplating/build.cmd b/SparkleShare/Windows/tools/TextTemplating/build.cmd index 8e0ecf30..f7f910d3 100644 --- a/SparkleShare/Windows/tools/TextTemplating/build.cmd +++ b/SparkleShare/Windows/tools/TextTemplating/build.cmd @@ -2,4 +2,4 @@ set WinDirNet=%WinDir%\Microsoft.NET\Framework set msbuild="%WinDirNet%\v4.0.30319\msbuild.exe" -%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" %~dp0\TextTemplating.sln +%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" "%~dp0\TextTemplating.sln" diff --git a/SparkleShare/Windows/tools/xslt/build.cmd b/SparkleShare/Windows/tools/xslt/build.cmd index d6db03bd..aa3220f4 100644 --- a/SparkleShare/Windows/tools/xslt/build.cmd +++ b/SparkleShare/Windows/tools/xslt/build.cmd @@ -3,4 +3,4 @@ set WinDirNet=%WinDir%\Microsoft.NET\Framework set msbuild="%WinDirNet%\v3.5\msbuild.exe" if not exist %msbuild% set msbuild="%WinDirNet%\v4.0.30319\msbuild.exe" -%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" %~dp0\xslt.sln +%msbuild% /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" "%~dp0\xslt.sln" diff --git a/data/plugins/build.cmd b/data/plugins/build.cmd index 2a1c69e8..ae79841b 100644 --- a/data/plugins/build.cmd +++ b/data/plugins/build.cmd @@ -5,7 +5,7 @@ set xslt=..\..\SparkleShare\Windows\tools\xslt\bin\release\xslt.exe if not exist %xslt% call ..\..\SparkleShare\Windows\tools\xslt\build.cmd for %%a in (*.xml.in) do ( - %xslt% parse_plugins.xsl %%a %%~dpna + %xslt% parse_plugins.xsl "%%a" "%%~dpna" ) popd