1
0
forked from brl/citadel
citadel/setup-build-env

19 lines
391 B
Plaintext
Raw Normal View History

2017-12-04 21:33:20 +00:00
#!/bin/sh
if [ -n "$BASH_SOURCE" ]; then
THIS_SCRIPT=$BASH_SOURCE
elif [ -n "$ZSH_NAME" ]; then
THIS_SCRIPT=$0
else
THIS_SCRIPT="$(pwd)/setup-build-env"
fi
if [ -z "$ZSH_NAME" ] && [ "$0" = "$THIS_SCRIPT" ]; then
echo "Error: This script needs to be sourced. Please run as '. $THIS_SCRIPT'"
exit 1
fi
TEMPLATECONF=../meta-citadel-distro/conf
. poky/oe-init-build-env