blob: f163d39c1994df4e41f9515f090ca642673fd716 [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=Other
### read the current build config, then exec
## usage: fx exec <command> [args, ...]
## The build configuration is sourced and read, then command is executed.
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-config-read
exec "$@"