From 1e5f4a4881ae9b80481b846a320209977a343d94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= <clemaez@hotmail.fr>
Date: Fri, 13 Mar 2015 19:13:19 +0100
Subject: [PATCH] Windows release script: debugging

---
 build_release_windows.bat | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/build_release_windows.bat b/build_release_windows.bat
index 7e6d49d..4966a34 100755
--- a/build_release_windows.bat
+++ b/build_release_windows.bat
@@ -85,26 +85,20 @@ SET /P OSG_VERSION=<%TEMP%\osg-version.txt
 SET /P OSG_SO_NUMBER=<%TEMP%\osg-so-number.txt
 SET /P OT_SO_NUMBER=<%TEMP%\openthreads-so-number.txt
 
-
-REM we have to handle a set of case:
-REM 1) FlightGear release: with fgdata, output filename would be "FlightGear-x.x.x.exe"
-REM 2) FlightGear nightly: with fgdata, output filename would be "FlightGear-x.x.x-nightly-full.exe"
-REM 3) FlightGear nightly: without fgdata, output filename would be "FlightGear-x.x.x-nightly.exe"
-
-IF "%IS_NIGHTLY_BUILD%" EQU 1 (
-  REM Case 2)
+IF %IS_NIGHTLY_BUILD% EQU 1 (
+  REM FlightGear nightly: with fgdata, output filename would be "FlightGear-x.x.x-nightly-full.exe"
   CALL :writeBaseConfig
   CALL :writeNightlyFullConfig
   iscc FlightGear.iss
 
-  REM Case 3)
+  REM FlightGear nightly: without fgdata, output filename would be "FlightGear-x.x.x-nightly.exe"
   CALL :writeBaseConfig
   CALL :writeNightlyDietConfig
   iscc FlightGear.iss
 
   GOTO End
 ) ELSE (
-  REM Case 1)
+  REM FlightGear release: with fgdata, output filename would be "FlightGear-x.x.x.exe"
   CALL :writeBaseConfig
   CALL :writeReleaseConfig
   iscc FlightGear.iss