mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
23 lines
510 B
Bash
Executable File
23 lines
510 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#X="-x"
|
|
#grind="checkleaks"
|
|
|
|
# if this is part of a distcheck action, then this script
|
|
# will be executed in a different directory
|
|
# than the one containing it; so capture the path to this script
|
|
# as the location of the source directory.
|
|
srcdir=`dirname $0`
|
|
|
|
# compute the build directory
|
|
# Do a hack to remove e.g. c: for CYGWIN
|
|
cd `pwd`
|
|
builddir=`pwd`/..
|
|
# Hack for CYGWIN
|
|
cd $srcdir
|
|
srcdir=`pwd`
|
|
cd ${builddir}/ncdap_test
|
|
|
|
exec sh $X ${srcdir}/tst_ncdap.sh "$srcdir" "$builddir" "file3" $grind
|
|
|