From 54e704904c0549cd8d3bd0ee1c82ef926aee3e4a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 16 Jun 2014 09:08:16 +0300 Subject: [PATCH] Revert "Fixed update rev" This reverts commit cb59784eae1dff1e040ca3cd804ef7216ecbc63b. --- .gitignore | 1 - update_rev.bat | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a78c0d9fd..622e48c29 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,3 @@ /src/Languages/XmlContentTranslator.exe /src/TestResults /src/SubtitleEdit.csproj.DotSettings -/src/Test/Test.csproj.user diff --git a/update_rev.bat b/update_rev.bat index bf2854789..5049d282a 100644 --- a/update_rev.bat +++ b/update_rev.bat @@ -3,10 +3,10 @@ SETLOCAL PUSHD %~dp0 -IF EXIST "src\UpdateAssemblyInfo\bin\Release\x64\UpdateAssemblyInfo.exe" ( - "src\UpdateAssemblyInfo\bin\Release\x64\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" +IF EXIST "src\UpdateAssemblyInfo\bin\Release\x86\UpdateAssemblyInfo.exe" ( + "src\UpdateAssemblyInfo\bin\Release\x86\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" ) ELSE ( - "src\UpdateAssemblyInfo\bin\Debug\x64\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" + "src\UpdateAssemblyInfo\bin\Debug\x86\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" ) IF %ERRORLEVEL% NEQ 0 GOTO SubError