Files
esp-idf-tools/custom_bin/patch-esp-idf
T

6 lines
209 B
Bash

#!/bin/bash
set -e
echo -e "\napplyan a patch~ $1 to $ESPIDFTOOLS_INSTALLDIR/esp-idf\n"
cp "$1" "$ESPIDFTOOLS_INSTALLDIR/esp-idf"
git -C "$ESPIDFTOOLS_INSTALLDIR/esp-idf" apply "$1"
echo -e "\nall donseies~\n"