Remove trailing / from examples_src

This commit is contained in:
Florian Rathgeber 2017-02-03 14:38:47 +00:00
parent 79e277db1a
commit fad6f076d7
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ cat > ${REF} <<EOF
EOF
INPUT=metar_with_2_bias.bufr
$PYTHON ${examples_src}bufr_copy_data.py ${INPUT} ${TEMP}
$PYTHON ${examples_src}/bufr_copy_data.py ${INPUT} ${TEMP}
# The input and output BUFR messages should be different
set +e
${tools_dir}/bufr_compare ${TEMP} ${INPUT} > ${MYLOG}

View File

@ -16,7 +16,7 @@ export ECCODES_DEFINITION_PATH
tools_dir=@CMAKE_BINARY_DIR@/bin
examples_dir=@CMAKE_CURRENT_BINARY_DIR@
examples_src=@CMAKE_CURRENT_SOURCE_DIR@/
examples_src=@CMAKE_CURRENT_SOURCE_DIR@
# use samples from binary dir to test if installation will be correct
samp_dir="@CMAKE_BINARY_DIR@/@ECCODES_SAMPLES_SUFF@"