From e4cf6b3865d391fde1af783243631ef952dd2cbe Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 26 Oct 2023 18:41:03 +0200 Subject: [PATCH] skip patch if already patched --- tools/install-esp-idf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install-esp-idf.sh b/tools/install-esp-idf.sh index 90f27fd0a..a3e925a8f 100755 --- a/tools/install-esp-idf.sh +++ b/tools/install-esp-idf.sh @@ -37,7 +37,7 @@ if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then # Temporarily patch the ETH driver to support custom SPI cd $IDF_PATH - patch -p1 -i ../patches/spi_eth.diff + patch -p1 -N -i ../patches/spi_eth.diff cd - fi