2008-03-24 12:47:05 +05:30
|
|
|
#!/bin/sh
|
|
|
|
|
2022-04-17 01:43:08 +05:30
|
|
|
if [ -z "${BUILD_ROOT}" ] ; then
|
|
|
|
printf "%s\n" "You must export BUILD_ROOT before sourcing this file" >&2
|
2008-03-24 12:47:05 +05:30
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2022-04-17 01:43:08 +05:30
|
|
|
if [ -z "${SOURCE_ROOT}" ] ; then
|
|
|
|
printf "%s\n" "You must export SOURCE_ROOT before sourcing this file" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
2017-02-01 02:18:59 +05:30
|
|
|
|
2022-04-17 01:43:08 +05:30
|
|
|
if [ ! -f ${BUILD_ROOT}/sh/functions.sh ] ; then
|
|
|
|
printf "%s\n" "functions.sh not yet created !?" >&2
|
2011-01-18 07:19:22 +05:30
|
|
|
exit 1
|
2022-04-17 01:43:08 +05:30
|
|
|
elif ! . ${BUILD_ROOT}/sh/functions.sh; then
|
|
|
|
printf "%s\n" "Sourcing functions.sh failed !?" >&2
|
2008-07-03 18:39:24 +05:30
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2022-04-17 01:43:08 +05:30
|
|
|
PATH="${BUILD_ROOT}"/src/einfo:${PATH}
|