#!/bin/sh
# IFe_accept
# uses dialog to confirm acceptance/rejection of an analysis
schema=`${IFE_HOME}/sys/bin/dialog -p "With regard to the analysis just run:" -ab "it shows acceptable performance" "it shows unacceptable performance" -h1 "Your answer affects future decision" -h2 "paths. Your response will show transaction."`

if [ ! Y$schema = Y ]; then
	if [ $schema = 'dialog_option_a' ]; then
		echo	"accept_complete	passed"
	fi
	if [ $schema = 'dialog_option_b' ]; then
		echo	"accept_complete	failed"
	fi
fi
exit 0
