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

21 lines
413 B
Plaintext
Raw Normal View History

2017-12-04 16:33:20 -05: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
2018-01-18 18:22:23 -05:00
PS1="[(build) \W]$ "
2017-12-04 16:33:20 -05:00
TEMPLATECONF=../meta-citadel-distro/conf
. poky/oe-init-build-env