Skip to content

Commit 8129486

Browse files
Jason2866me-no-dev
andauthored
skip patch if already patched (espressif#143)
Co-authored-by: Me No Dev <[email protected]>
1 parent d48715c commit 8129486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tools/install-esp-idf.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if [ ! -x $idf_was_installed ] || [ ! -x $commit_predefined ]; then
3737

3838
# Temporarily patch the ETH driver to support custom SPI
3939
cd $IDF_PATH
40-
patch -p1 -i ../patches/spi_eth.diff
40+
patch -p1 -N -i ../patches/spi_eth.diff
4141
cd -
4242
fi
4343

0 commit comments

Comments
 (0)