File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ source ./tools/config.sh
5
5
CAMERA_REPO_URL=" https://github.com/espressif/esp32-camera.git"
6
6
LITTLEFS_REPO_URL=" https://github.com/joltwallet/esp_littlefs.git"
7
7
TINYUSB_REPO_URL=" https://github.com/hathach/tinyusb.git"
8
+ TINYUSB_REPO_DIR=" $AR_COMPS /arduino_tinyusb/tinyusb"
8
9
9
10
#
10
11
# CLONE/UPDATE ESP32-CAMERA
@@ -43,10 +44,10 @@ cp "$AR_COMPS/esp32-camera/driver/private_include/cam_hal.h" "$AR_COMPS/esp32-ca
43
44
# CLONE/UPDATE TINYUSB
44
45
#
45
46
echo " Updating TinyUSB..."
46
- if [ ! -d " $AR_COMPS /arduino_tinyusb/tinyusb " ]; then
47
- git clone $TINYUSB_REPO_URL " $AR_COMPS /arduino_tinyusb/tinyusb "
47
+ if [ ! -d " $TINYUSB_REPO_DIR " ]; then
48
+ git clone " $TINYUSB_REPO_URL " " $TINYUSB_REPO_DIR "
48
49
else
49
- git -C " $AR_COMPS /arduino_tinyusb/tinyusb " fetch && \
50
- git -C " $AR_COMPS /arduino_tinyusb/tinyusb " pull --ff-only
50
+ git -C " $TINYUSB_REPO_DIR " fetch && \
51
+ git -C " $TINYUSB_REPO_DIR " pull --ff-only
51
52
fi
52
53
if [ $? -ne 0 ]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments