Skip to content

Commit 6efd5da

Browse files
committed
avoid using patch -R
Signed-off-by: Aurelien Chartier <2567591+achartier@users.noreply.github.com>
1 parent 2e2938c commit 6efd5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ foreach(DEP_IDX RANGE ${DEP_COUNT_MINUS_ONE})
6262
PATCH_COMMAND
6363
bash
6464
-c
65-
"patch -p1 --batch --dry-run -R -i '${_patch_file}' && echo 'Patch already applied, skipping.' || patch -p1 --forward --batch -i '${_patch_file}'"
65+
"patch -p1 --forward --batch --dry-run -i '${_patch_file}' && patch -p1 --forward --batch -i '${_patch_file}' || echo 'Patch already applied, skipping.'"
6666
)
6767
endif()
6868

0 commit comments

Comments
 (0)