Skip to content

Commit

Permalink
debug: add printouts for listing patches
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislav-simonik committed Dec 2, 2024
1 parent 365fe01 commit 1396464
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions patches/apply-patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ if [ ! -f $applied_patches_file ]; then
if [ ! -z $1 ]; then
patches_folder=$1
fi
ls -A1 $patches_folder/*.patch

if [ -d $patches_folder ]; then
for patch_file in $(ls -A1 $patches_folder/*.patch); do
echo "Applying patch $patch_file"
patch -p0 -N < $patch_file
done
fi
Expand Down

0 comments on commit 1396464

Please sign in to comment.