#!/bin/bash | |
# Copyright 2021 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# Runs an arbitrary command with our environment applied. | |
set -e | |
PROJECT_ROOT=$(realpath "$(dirname "${BASH_SOURCE[0]}")"/..) | |
source "${PROJECT_ROOT}/environment" | |
exec "$@" |