#!/bin/bash # SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2012-2024 Scott Penrose and WII5 Buoy contributors # # This file is part of WII5 Buoy firmware. # See LICENSE for full terms. # Pull the latest from each related repo. Configure with env vars; missing # vars are skipped silently so this works regardless of which repos you have # checked out locally. set -e for d in "$WII5_LIB_REPO" "$WII5_SDBLOCK_REPO" "$WII5_BINARY_REPO" "$WII5_BUOY_REPO"; do [ -n "$d" ] && [ -d "$d" ] || continue pushd "$d" >/dev/null git pull popd >/dev/null done