Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rules/subrepo_rules.build_defs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def new_http_archive(name:str, urls:list, build_file:str=None, build_file_conten
else:
cmd = '$TOOL x $SRCS_REMOTE -o "$OUT"'
if patches:
cmd += ' && ' + ' && '.join([f'patch -d "$OUT" -p1 < "$PKG/{p}"' for p in patches])
cmd += ' && ' + ' && '.join([f'patch -f -d "$OUT" -p1 < "$PKG/{p}"' for p in patches])
if strip_build:
cmd += ' && find . ' + ' -o '.join([f'-name {name}' for name in CONFIG.BUILD_FILE_NAMES + ["WORKSPACE"]]) + ' | xargs rm -f'
if build_file:
Expand Down