mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-17 12:02:34 +00:00
chore: Finish migration without testing, b=no-bug, c=scripts, tabs, media, common, split-view
This commit is contained in:
@@ -16,7 +16,7 @@ IGNORE_FILES=(
|
||||
# Recursively find all .patch files in the current directory and its subdirectories
|
||||
find src -type f -name "*.patch" | while read -r patch_file; do
|
||||
# Get the file from the inside of the file as indicated by the patch
|
||||
target_file=$(grep -m 1 -oP '(?<=\+\+\+ b/).+' "$patch_file")
|
||||
target_file=$(grep -m 1 -E '^\+\+\+ b/' "$patch_file" | sed 's/^\+\+\+ b\///')
|
||||
if [[ -z "$target_file" ]]; then
|
||||
echo "No target file found in patch: $patch_file"
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user