Skip to content

Commit 8a9c37d

Browse files
authored
Update update-components.sh
1 parent d75aa10 commit 8a9c37d

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

Diff for: tools/update-components.sh

+20-20
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git"
99
#
1010
# CLONE/UPDATE ESP32-CAMERA
1111
#
12-
echo "Updating ESP32 Camera..."
13-
if [ ! -d "$AR_COMPS/esp32-camera" ]; then
14-
git clone $CAMERA_REPO_URL "$AR_COMPS/esp32-camera"
15-
else
16-
git -C "$AR_COMPS/esp32-camera" fetch && \
17-
git -C "$AR_COMPS/esp32-camera" pull --ff-only
18-
fi
19-
if [ $? -ne 0 ]; then exit 1; fi
12+
#echo "Updating ESP32 Camera..."
13+
#if [ ! -d "$AR_COMPS/esp32-camera" ]; then
14+
# git clone $CAMERA_REPO_URL "$AR_COMPS/esp32-camera"
15+
#else
16+
# git -C "$AR_COMPS/esp32-camera" fetch && \
17+
# git -C "$AR_COMPS/esp32-camera" pull --ff-only
18+
#fi
19+
#if [ $? -ne 0 ]; then exit 1; fi
2020

2121
#
2222
# Arduino needs cam_hal.h from esp32-camera in include folder
@@ -26,18 +26,18 @@ cp "$AR_COMPS/esp32-camera/driver/private_include/cam_hal.h" "$AR_COMPS/esp32-ca
2626
#
2727
# CLONE/UPDATE ESP-LITTLEFS v1.10.0 commit 032f9...
2828
#
29-
echo "Updating ESP-LITTLEFS..."
30-
if [ ! -d "$AR_COMPS/esp_littlefs" ]; then
31-
git clone $LITTLEFS_REPO_URL "$AR_COMPS/esp_littlefs"
32-
git -C "$AR_COMPS/esp_littlefs" checkout 032f9eb2e291e7c4df63c3e6a3cb3bc766ded495
33-
git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive
34-
else
35-
git -C "$AR_COMPS/esp_littlefs" fetch
36-
git -C "$AR_COMPS/esp_littlefs" pull --ff-only
37-
git -C "$AR_COMPS/esp_littlefs" checkout 032f9eb2e291e7c4df63c3e6a3cb3bc766ded495
38-
git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive
39-
fi
40-
if [ $? -ne 0 ]; then exit 1; fi
29+
#echo "Updating ESP-LITTLEFS..."
30+
#if [ ! -d "$AR_COMPS/esp_littlefs" ]; then
31+
# git clone $LITTLEFS_REPO_URL "$AR_COMPS/esp_littlefs"
32+
# git -C "$AR_COMPS/esp_littlefs" checkout 032f9eb2e291e7c4df63c3e6a3cb3bc766ded495
33+
# git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive
34+
#else
35+
# git -C "$AR_COMPS/esp_littlefs" fetch
36+
# git -C "$AR_COMPS/esp_littlefs" pull --ff-only
37+
# git -C "$AR_COMPS/esp_littlefs" checkout 032f9eb2e291e7c4df63c3e6a3cb3bc766ded495
38+
# git -C "$AR_COMPS/esp_littlefs" submodule update --init --recursive
39+
#fi
40+
#if [ $? -ne 0 ]; then exit 1; fi
4141

4242
#
4343
# CLONE/UPDATE TINYUSB

0 commit comments

Comments
 (0)