14 lines
314 B
Bash
Executable File
14 lines
314 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2013-2014 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
tools_path=${tools_path:-$(dirname $0)}
|
|
venv_path=${venv_path:-${tools_path}}
|
|
venv_dir=${venv_name:-/../.venv}
|
|
TOOLS=${tools_path}
|
|
VENV=${venv:-${venv_path}/${venv_dir}}
|
|
source ${VENV}/bin/activate && "$@"
|