Skip to content

Commit ddc8e1f

Browse files
committed
install_scrip: Fix exe installation name.
1 parent e87aedb commit ddc8e1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install_script.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ if exist "%SCRIPTDIR%\yasm\" (
292292
goto InstallYASM
293293
) else if exist "%SCRIPTDIR%\yasm_%YASMVERSION%_win%SYSARCH%.exe" (
294294
echo Using existing YASM binary...
295-
goto InstallNASM
295+
goto InstallYASM
296296
)
297297

298298
REM Download the latest yasm binary for windows goto Terminate
@@ -309,7 +309,7 @@ if not exist "%SCRIPTDIR%\yasm_%YASMVERSION%_win%SYSARCH%.exe" (
309309
REM copy yasm executable to VC installation folder
310310
echo Installing required YASM release binary...
311311
del /F /Q "%VCINSTALLDIR%\yasm.exe" >nul 2>&1
312-
copy /B /Y /V "%SCRIPTDIR%\yasm*.exe" "%VCINSTALLDIR%\" >nul 2>&1
312+
copy /B /Y /V "%SCRIPTDIR%\yasm*.exe" "%VCINSTALLDIR%\yasm.exe" >nul 2>&1
313313
if %ERRORLEVEL% neq 0 (
314314
echo Error: Failed to install YASM binary!
315315
echo Ensure that this script is run in a shell with the necessary write privileges

0 commit comments

Comments
 (0)