netcdf-c/ncdump/tst_ncgen4_classic.sh
2015-11-19 13:44:55 -07:00

30 lines
464 B
Bash
Executable File

#!/bin/sh
if test "x$SETX" = x1 ; then echo "file=$0"; set -x ; fi
set -e
echo ""
verbose=0
if test "x$builddir" = "x"; then builddir=`pwd`; fi
if test "x$srcdir" = "x"; then srcdir=`dirname $0`; fi
# Make buildir absolute
cd $builddir
builddir=`pwd`
# Make srcdir be absolute
cd $srcdir
srcdir=`pwd`
cd $builddir
export verbose
export srcdir
export builddir
KFLAG=1 ; export KFLAG
sh ${srcdir}/tst_ncgen4_diff.sh
sh ${srcdir}/tst_ncgen4_cycle.sh
exit 0