#!/bin/bash . ./functions.sh OUTPUT=$(make 2>&1) echo "$OUTPUT" echo $OUTPUT|grep -q 'config.target included'|| error "config.target not included" echo $OUTPUT|grep -q 'config.omk included'|| error "config.omk not included"