Skip to content

Commit

Permalink
minor update to patches
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Oct 14, 2024
1 parent ebe6eec commit df0ca32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ else
echo "Applying patches to esp-idf in '${IDF_PATH}'"
fi

lodestone_dir=$(pwd)
cur_dir=$(pwd)
patches=($(find patches -type f))
cd "${IDF_PATH}"
for patch in "${patches[@]}"; do
echo "Applying patch: ${patch}"
git apply ${lodestone_dir}/${patch}
git apply ${cur_dir}/${patch}
done

cd ${lodestone_dir}
cd ${cur_dir}

0 comments on commit df0ca32

Please sign in to comment.