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 15sed -i 's/include chromiumos\/config:\/OWNERS.all_projects/include chromeos\/config-internal:\/OWNERS.all_projects/g' OWNERS 16git add OWNERS 17