#! /bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export DIST_PATH=${DIR} export CUSTOM_PI_OS_PATH=$(<${DIR}/custompios_path) export PATH=$PATH:$CUSTOM_PI_OS_PATH echo ${CUSTOM_PI_OS_PATH} ${CUSTOM_PI_OS_PATH}/build_custom_os $@