From: Lars Op den Kamp Date: Fri, 30 Mar 2012 11:03:02 +0000 (+0200) Subject: win32: don't try to rename the installer file when it's not being built on the builds... X-Git-Tag: upstream/2.2.0~1^2~31^2~26 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=924a6975e6c7d16db127c6815125e5c420605505;p=deb_libcec.git win32: don't try to rename the installer file when it's not being built on the buildserver --- diff --git a/support/create-installer.bat b/support/create-installer.bat index fb68cb6..2f19005 100644 --- a/support/create-installer.bat +++ b/support/create-installer.bat @@ -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