Fix esp-sr failing to compile because of esp-dsp location

This commit is contained in:
me-no-dev 2023-02-20 14:41:35 +02:00
parent dbf05f1df2
commit 38aed14cca
2 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View file

@ -6,7 +6,7 @@ components/esp-sr/
components/esp32-camera/
components/esp_littlefs/
components/esp-rainmaker/
components/esp-dsp/
components/espressif__esp-dsp/
components/esp-insights/
components/arduino_tinyusb/tinyusb/
esp-idf/

View file

@ -143,11 +143,11 @@ if [ $? -ne 0 ]; then exit 1; fi
# CLONE/UPDATE ESP-DSP
#
echo "Updating ESP-DSP..."
if [ ! -d "$AR_COMPS/esp-dsp" ]; then
git clone $DSP_REPO_URL "$AR_COMPS/esp-dsp"
if [ ! -d "$AR_COMPS/espressif__esp-dsp" ]; then
git clone $DSP_REPO_URL "$AR_COMPS/espressif__esp-dsp"
else
git -C "$AR_COMPS/esp-dsp" fetch && \
git -C "$AR_COMPS/esp-dsp" pull --ff-only
git -C "$AR_COMPS/espressif__esp-dsp" fetch && \
git -C "$AR_COMPS/espressif__esp-dsp" pull --ff-only
fi
if [ $? -ne 0 ]; then exit 1; fi