31 строка
1.1 KiB
Bash
Executable File
31 строка
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# ----------------------------------------------------------------------
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License
|
|
# ----------------------------------------------------------------------
|
|
|
|
set -e # Exit on error
|
|
set +v # Disable output
|
|
|
|
# ----------------------------------------------------------------------
|
|
# |
|
|
# | Run as:
|
|
# | ./Setup.sh [/debug] [/verbose] [/configuration=<config_name>]*
|
|
# |
|
|
# ----------------------------------------------------------------------
|
|
# Note that sudo is necessary because the process will create symbolic links
|
|
|
|
if [[ "${DEVELOPMENT_ENVIRONMENT_FUNDAMENTAL}" = "" ]]
|
|
then
|
|
echo
|
|
echo "ERROR: Please run Activate.sh within a repository before running this script. It may be necessary to Setup and Activate the Common_Environment repository before setting up this one."
|
|
echo
|
|
|
|
exit -1
|
|
fi
|
|
|
|
pushd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" > /dev/null
|
|
source $DEVELOPMENT_ENVIRONMENT_FUNDAMENTAL/RepositoryBootstrap/Impl/Setup.sh "$@"
|
|
popd > /dev/null
|