1#!/usr/bin/env bash 2 3# Copyright 2018 The Fuchsia Authors 4# 5# Use of this source code is governed by a MIT-style 6# license that can be found in the LICENSE file or at 7# https://opensource.org/licenses/MIT 8 9BUILD_DIR="$1" 10shift 11 12if [ ! -d "${BUILD_DIR}" ]; then 13 echo Build directory ${BUILD_DIR} not found 14 echo "Usage: netboot-zircon <path to build directory>" 15 exit -1 16fi 17 18${BUILD_DIR}/tools/bootserver ${BUILD_DIR}/zircon.zbi "$@" 19