blob: a589f4ca150663d0258d86829c6eb94e9165cb55 [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.
### print the current fuchsia build directory
## equivalent to `fx exec echo ${FUCHSIA_BUILD_DIR}`
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/lib/vars.sh
fx-config-read
echo "${FUCHSIA_BUILD_DIR}"