Use bash as interpreter and set pipefail so that the non-zero
exit status of bitbake command can be captured.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Icf186eb61bf1eef4a12d8a14146b2216722e910e
help_info () {
cat << ENDHELP
help_info () {
cat << ENDHELP
# Build the oran-inf-host image
mkdir -p logs
TIMESTAMP=`date +"%Y%m%d_%H%M%S"`
# Build the oran-inf-host image
mkdir -p logs
TIMESTAMP=`date +"%Y%m%d_%H%M%S"`
bitbake ${DRYRUN} oran-image-inf-host 2>&1|tee logs/bitbake_oran-image-inf-host_${TIMESTAMP}.log
bitbake ${DRYRUN} oran-image-inf-host 2>&1|tee logs/bitbake_oran-image-inf-host_${TIMESTAMP}.log