mirror of
https://github.com/slorelee/wimbuilder2.git
synced 2025-05-06 18:25:51 +08:00
add ApplyPatch macro
This commit is contained in:
parent
be0dbe8cb5
commit
6e65715175
9
lib/macros/ApplyPatch.cmd
Normal file
9
lib/macros/ApplyPatch.cmd
Normal file
@ -0,0 +1,9 @@
|
||||
rem MACRO:ApplyPatch
|
||||
|
||||
set "_applypatch_entryfile=%~2"
|
||||
if "x%~2"=="x" set _applypatch_entryfile=main.bat
|
||||
echo Applying Patch: %~1\%_applypatch_entryfile%
|
||||
pushd "%~1"
|
||||
call %_applypatch_entryfile%
|
||||
set _applypatch_entryfile=
|
||||
popd
|
Loading…
x
Reference in New Issue
Block a user