win32: don't try to rename the installer file when it's not being built on the builds...
[deb_libcec.git] / support / create-installer.bat
index eefd7db594f84f9205a1ae06ec58999d7ffcc0c0..2f19005ba7e611eac5bd55f690a0f2490d79293f 100644 (file)
@@ -127,7 +127,12 @@ IF EXIST "..\support\private\sign-binary.cmd" (
   CALL ..\support\private\sign-binary.cmd ..\build\libCEC-installer.exe
 )
 
-echo. The installer can be found here: ..\build\libCEC-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