1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# $Id: check_common.in,v 1.3 2006/09/06 04:16:33 myamato Exp $
if test -z "$THIS_SH" ; then
THIS_SH=@BASH_PROG@
fi
# Could/short probably replace all uses of THIS_SH with BASH.
BASH=$THIS_SH
TOP_BUILDDIR=`pwd`/../
export BASH TOP_BUILDDIR
check_output() {
testfile="$1"
rightfile="$2"
# Bourne sh
# set -o noglob
@DIFF@ @DIFF_OPTS@ $testfile $rightfile && rm -f $testfile
return $?
}
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***
|