File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ if not "%CURRDIR%"=="%CD%" (
145145
146146REM copy the BuildCustomizations to VCTargets folder
147147echo Installing build customisations...
148+ del /F /Q " %VCTargetsPath% \BuildCustomizations\yasm.*" 1 > NUL 2 > NUL
148149copy /B /Y /V " %SCRIPTDIR% \yasm.*" " %VCTargetsPath% \BuildCustomizations\" 1 > NUL 2 > NUL
149150if not exist " %VCTargetsPath% \BuildCustomizations\yasm.props" (
150151 echo Error: Failed to copy build customisations!
@@ -169,6 +170,7 @@ if not exist "%SCRIPTDIR%\yasm\" (
169170
170171REM copy yasm executable to VC installation folder
171172echo Installing required YASM release binary...
173+ del /F /Q " %VCINSTALLDIR% \yasm.exe" 1 > NUL 2 > NUL
172174move /Y " %SCRIPTDIR% \yasm.exe" " %VCINSTALLDIR% \" 1 > NUL 2 > NUL
173175if not exist " %VCINSTALLDIR% \yasm.exe" (
174176 echo Error: Failed to install YASM binary!
You can’t perform that action at this time.
0 commit comments