Skip to content

Commit 779f1c2

Browse files
Fix build
1 parent 19d449f commit 779f1c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_lvgl_micropython.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ fi
2727

2828
echo "Fetch tags for lib/SDL, otherwise lvgl_micropython's make.py script can't checkout a specific tag..."
2929
pushd "$codebasedir"/lvgl_micropython/lib/SDL
30-
git fetch --unshallow origin
30+
git fetch --unshallow origin 2>/dev/null # will give error if already done
3131
# Or fetch all refs without unshallowing (keeps it shallow but adds refs)
32-
git fetch origin 'refs/*:refs/*'
32+
git fetch origin 'refs/*:refs/*' >/dev/null # huge list that pollutes the build output
3333
popd
3434

3535
echo "Check need to add esp32-camera..."
@@ -43,7 +43,7 @@ else
4343
fi
4444

4545
echo "Check need to add asyncio..."
46-
manifile="$codebasedir"/lib/micropython/ports/unix/variants/manifest.py
46+
manifile="$codebasedir"/lvgl_micropython/lib/micropython/ports/unix/variants/manifest.py
4747
if ! grep asyncio "$manifile"; then
4848
echo "Adding asyncio to $manifile"
4949
echo 'include("$(MPY_DIR)/extmod/asyncio") # needed to have asyncio, which is used by aiohttp, which has used by websockets' >> "$manifile"

0 commit comments

Comments
 (0)