From f754fb64d8cafc4ed00056da695de49a1c99f7f9 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 4 Mar 2014 19:11:14 +0200 Subject: [PATCH] Update update_rev.bat. --- update_rev.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update_rev.bat b/update_rev.bat index 0835ecfdc..1bcb210a8 100644 --- a/update_rev.bat +++ b/update_rev.bat @@ -3,10 +3,10 @@ SETLOCAL PUSHD %~dp0 -if exist "src\UpdateAssemblyInfo\bin\Release\UpdateAssemblyInfo.exe" ( - "src\UpdateAssemblyInfo\bin\Release\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" -) else ( - "src\UpdateAssemblyInfo\bin\Debug\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" +IF EXIST "src\UpdateAssemblyInfo\bin\Release\UpdateAssemblyInfo.exe" ( + "src\UpdateAssemblyInfo\bin\Release\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" +) ELSE ( + "src\UpdateAssemblyInfo\bin\Debug\UpdateAssemblyInfo.exe" "src\Properties\AssemblyInfo.cs.template" "src\Properties\AssemblyInfo.cs" ) IF %ERRORLEVEL% NEQ 0 GOTO SubError