1#!/bin/bash
2here=`dirname "$0"`
3export ZEPHYR_SDK_INSTALL_DIR=/opt
4
5if [ -d $ZEPHYR_SDK_INSTALL_DIR/zephyr-sdk-hosttools ]; then
6    . $ZEPHYR_SDK_INSTALL_DIR/zephyr-sdk-hosttools/environment-setup-*
7fi
8
9for dir in "$ZEPHYR_SDK_INSTALL_DIR"/*; do
10    if [ -d "$dir" -a -d "$dir"/bin ]; then
11	PATH="$dir"/bin:$PATH
12    fi
13done
14
15exec "$@"
16