1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/bin/bash
###############################################################################
# Copyright (C) Intel Corporation
#
# SPDX-License-Identifier: MIT
###############################################################################
# Build base dependencies.
# Do not set Exit on Error in scripts that will be sourced
# set -o errexit
if [ -z "$BASH_VERSION" ]
then
echo "This script must be run under bash"
exit 1
fi
SCRIPT_DIR="$( cd "$(dirname "${BASH_SOURCE[0]:-$0}")" >/dev/null 2>&1 ; pwd -P )"
# Read command line options
. "${SCRIPT_DIR}/_buildopts.sh" \
--name bootstrap \
--desc "Build base dependencies." \
-- "$@"
|