| #!/bin/bash | 
 | # Copyright 2021 The Fuchsia Authors. All rights reserved. | 
 | # Use of this source code is governed by a BSD-style license that can be | 
 | # found in the LICENSE file. | 
 |  | 
 | #### CATEGORY=Documentation | 
 | ### analyze the license state of a given package or directory | 
 |  | 
 | ## USAGE: | 
 | ##     check-licenses | 
 | ## ** Check //tools/check-licenses/README.md for more information | 
 |  | 
 | source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/../lib/vars.sh || exit $? | 
 | fx-config-read | 
 |  | 
 | export PREBUILT_3P_DIR HOST_PLATFORM | 
 |  | 
 | "$(get_host_tools_dir)/check-licenses" "$@" | 
 |  |