win32: don't try to rename the installer file when it's not being built on the builds...
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 30 Mar 2012 11:03:02 +0000 (13:03 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 30 Mar 2012 11:03:02 +0000 (13:03 +0200)
support/create-installer.bat

index fb68cb613fec3fef03c7c006fe19bf48c4c83849..2f19005ba7e611eac5bd55f690a0f2490d79293f 100644 (file)
@@ -127,9 +127,12 @@ IF EXIST "..\support\private\sign-binary.cmd" (
   CALL ..\support\private\sign-binary.cmd ..\build\libCEC-installer.exe
 )
 
-move ..\build\libCEC-installer.exe ..\build\libCEC-%1%-installer.exe
-
-echo. The installer can be found here: ..\build\libCEC-%1%-installer.exe
+IF "%1%"=="" (
+  echo. The installer can be found here: ..\build\libCEC-installer.exe
+) ELSE (
+  move ..\build\libCEC-installer.exe ..\build\libCEC-%1%-installer.exe
+  echo. The installer can be found here: ..\build\libCEC-%1%-installer.exe
+)
 
 GOTO EXIT