blob: ff65680514beb62cf54171f24a56da1ae760a961 [file] [log] [blame]
#!/bin/bash
# Copyright 2017 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=Build
### print the Fuchsia source directory (checkout root, aka "//")
## equivalent to `fx exec echo ${FUCHSIA_DIR}`
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-config-read
echo "${FUCHSIA_DIR}"