#!/bin/bash

#---------------------------------------------------------------------
source "$(dirname "$0")/common.inc"
#---------------------------------------------------------------------

cd ..

for LEGAL_URL_FILE_RELC in */legal.url
do
    REPO_DIR_ABS="$PWD/$(dirname "$LEGAL_URL_FILE_RELC")"

    section "$(basename "$REPO_DIR_ABS")"

    pushd "$REPO_DIR_ABS" >/dev/null

    git fetch
    git reset --hard origin/master

    popd >/dev/null
done

finalize

#!/bin/bash

#---------------------------------------------------------------------
source "$(dirname "$0")/common.inc"
#---------------------------------------------------------------------

cd ..

for MARKER_FILE_RELC in */write_overview_index_html.sh
do
    REPO_DIR_ABS="$PWD/$(dirname "$MARKER_FILE_RELC")"

    section "$(basename "$REPO_DIR_ABS")"

    pushd "$REPO_DIR_ABS" >/dev/null

    git fetch
    git reset --hard origin/master

    popd >/dev/null
done

finalize

Switch marker file to detect sibling repositories
Switch marker file to detect sibling repositories

Change-Id: Id64831d1bb65edeae21259f018446b8e6ea89e31
