mirror of https://github.com/ecmwf/eccodes.git
Remove trailing / from tigge_dir
This commit is contained in:
parent
710d01c7bc
commit
4279c88d75
|
@ -17,7 +17,7 @@ export ECCODES_DEFINITION_PATH
|
|||
|
||||
# binaries are in the TOP CMAKE_BINARY_DIR
|
||||
tools_dir=@CMAKE_BINARY_DIR@/bin
|
||||
tigge_dir=@CMAKE_BINARY_DIR@/bin/
|
||||
tigge_dir=@CMAKE_BINARY_DIR@/bin
|
||||
|
||||
# If this environment variable is set, then run the
|
||||
# executables with valgrind
|
||||
|
|
|
@ -45,14 +45,14 @@ else
|
|||
tools_dir="valgrind --error-exitcode=1 -q $cpath/tools"
|
||||
fi
|
||||
|
||||
tigge_dir=$cpath/tigge/
|
||||
tigge_dir=$cpath/tigge
|
||||
data_dir=$cpath/data
|
||||
test_dir=$cpath/tests/
|
||||
def_dir=$cpath/definitions
|
||||
src_dir=$cpath/src
|
||||
else
|
||||
tools_dir="."
|
||||
tigge_dir=""
|
||||
tigge_dir="."
|
||||
fi
|
||||
|
||||
if [ -z "${GRIB_API_INCLUDE}" ]
|
||||
|
|
|
@ -17,13 +17,13 @@ dir="${data_dir}/tigge/"
|
|||
# check tigge global
|
||||
for file in ${dir}tigge_*.grib
|
||||
do
|
||||
${tigge_dir}tigge_check ${file} 2> $REDIRECT > $REDIRECT
|
||||
${tigge_dir}/tigge_check ${file} 2> $REDIRECT > $REDIRECT
|
||||
done
|
||||
|
||||
# check tigge-lam
|
||||
for file in ${dir}tiggelam_*.grib
|
||||
do
|
||||
${tigge_dir}tigge_check -l ${file} 2> $REDIRECT > $REDIRECT
|
||||
${tigge_dir}/tigge_check -l ${file} 2> $REDIRECT > $REDIRECT
|
||||
done
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@ done
|
|||
# All the GRIB files in the samples are non-TIGGE
|
||||
for file in ${ECCODES_SAMPLES_PATH}/regular_*.tmpl; do
|
||||
set +e
|
||||
${tigge_dir}tigge_check ${file} 2> $REDIRECT > $REDIRECT
|
||||
${tigge_dir}/tigge_check ${file} 2> $REDIRECT > $REDIRECT
|
||||
status=$?
|
||||
set -e
|
||||
if [ $status -eq 0 ]; then
|
||||
|
@ -64,7 +64,7 @@ tigge_bad_validity="
|
|||
"
|
||||
for file in $tigge_bad_validity; do
|
||||
set +e
|
||||
${tigge_dir}tigge_check -w ${dir}${file} > $TEMP
|
||||
${tigge_dir}/tigge_check -w ${dir}${file} > $TEMP
|
||||
status=$?
|
||||
set -e
|
||||
[ $status -eq 1 ]
|
||||
|
|
Loading…
Reference in New Issue