Add scripts to path in vxmicro-env.bash
Change-Id: I8963a433d99de82868f556a81295bc121c76271b Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
10516620d7
commit
b0b28f3f6c
1 changed files with 4 additions and 0 deletions
|
@ -13,9 +13,13 @@ export VXMICRO_BASE=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|||
|
||||
# prepend VxMicro build system tools to PATH, if not already present
|
||||
vxmicro_linux_bin=${VXMICRO_BASE}/host/x86-linux2/bin
|
||||
scripts_path=${VXMICRO_BASE}/scripts
|
||||
echo "${PATH}" | grep -q "${vxmicro_linux_bin}"
|
||||
[ $? != 0 ] && export PATH=${vxmicro_linux_bin}:${PATH}
|
||||
unset vxmicro_linux_bin
|
||||
echo "${PATH}" | grep -q "${scripts_path}"
|
||||
[ $? != 0 ] && export PATH=${scripts_path}:${PATH}
|
||||
unset scripts_path
|
||||
|
||||
# enable custom environment settings
|
||||
vxmicro_answer_file=~/vxmicro-env_install.bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue