1#!/bin/bash 2# Copyright 2021 The ChromiumOS Authors 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6# Appends the include chromiumos/config:/OWNERS.all_projects 7# statement to all program/project level owners files. 8 9project=$1 10 11if [ ! -f "OWNERS" ]; then 12 echo "No OWNERS, so skipping ${project}" 13 exit 0 14fi 15echo -e "\n# For cross-cutting program/project refactors/updates\ninclude chromiumos/config:/OWNERS.all_projects" >> OWNERS 16git add OWNERS 17