Skip to content

Commit

Permalink
build.package: support for multiple project patch folders
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreisl committed Feb 19, 2024
1 parent c0e1cd6 commit 0cdd74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.package
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ do_patch()
[ ! -d ./patches ] && return 0
cd ./patches

for p in $({ find -L ./ -maxdepth 1 -iname \*.patch -type f 2>/dev/null | sort; find -L "./$dir" -type d 2>/dev/null| sort | xargs -L1 -I%% sh -c 'find -L %% -maxdepth 1 -iname \*.patch -type f | sort'; }); do
for p in $({ find -L ./ -maxdepth 1 -iname \*.patch -type f 2>/dev/null | sort; find -L ./ -name "$dir" -type d 2>/dev/null| sort | xargs -L1 -I%% sh -c 'find -L %% -maxdepth 1 -iname \*.patch -type f | sort'; }); do
(
cd ../build/$dir/working
[ $use_silent = yes ] || echo "checking $p"
Expand Down

0 comments on commit 0cdd74f

Please sign in to comment.