Skip to content

Commit

Permalink
Delete ./vendor before each sync
Browse files Browse the repository at this point in the history
This workarounds missing namespace errors (see #
674)
  • Loading branch information
petefoth committed Sep 3, 2024
1 parent b8705d2 commit 36a8501
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/new_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
# - RETRY_FETCHES
# - Branch-specific stuff
# - handle local manifests
# - Delete ./vendor
# - Sync mirror if we're using one
# - main sync and build loop
# For each device in `$DEVICE_LIST`
Expand Down Expand Up @@ -169,6 +170,9 @@ if [ "$INCLUDE_PROPRIETARY" = true ]; then
"https://gitlab.com/the-muppets/manifest/raw/$themuppets_branch/muppets.xml" .repo/local_manifests/proprietary_gitlab.xml
fi

# Delete ./vendor
rm -rf vendor || true

# Sync mirror if we're using one
if [ "$LOCAL_MIRROR" = true ]; then

Expand Down

0 comments on commit 36a8501

Please sign in to comment.