Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 867c36a

Browse files
authoredNov 9, 2024
Update update-components.sh
1 parent 59096b2 commit 867c36a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed
 

‎tools/update-components.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
11
#/bin/bash
22

33
source ./tools/config.sh
4-
5-
TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git"
6-
TINYUSB_REPO_DIR="$AR_COMPS/arduino_tinyusb/tinyusb"
7-
8-
#
9-
# CLONE/UPDATE TINYUSB
10-
#
11-
echo "Updating TinyUSB..."
12-
if [ ! -d "$TINYUSB_REPO_DIR" ]; then
13-
git clone -b master --depth 1 "$TINYUSB_REPO_URL" "$TINYUSB_REPO_DIR"
14-
else
15-
cd $TINYUSB_REPO_DIR
16-
git pull
17-
# -ff is for cleaning untracked files as well as submodules
18-
git clean -ffdx
19-
cd -
20-
fi
21-
if [ $? -ne 0 ]; then exit 1; fi

0 commit comments

Comments
 (0)
Please sign in to comment.