mirror of https://github.com/ecmwf/eccodes.git
GRIB-262: Fixed test which broke on MacOS
This commit is contained in:
parent
d7129bfb81
commit
0fda97e907
|
@ -1,4 +1,4 @@
|
|||
#! /bin/sh
|
||||
#!/bin/sh
|
||||
# Copyright 2005-2013 ECMWF.
|
||||
#
|
||||
# This software is licensed under the terms of the Apache Licence Version 2.0
|
||||
|
|
|
@ -55,12 +55,14 @@ COUNT=264
|
|||
rm -f $filter || true
|
||||
echo "set NV=$COUNT;" >> $filter
|
||||
echo "set pv={" >> $filter
|
||||
for i in `seq 1 $COUNT`; do
|
||||
i=1
|
||||
while [ $i -le $COUNT ]; do
|
||||
if [ $i = $COUNT ]; then
|
||||
echo " $i" >> $filter
|
||||
else
|
||||
echo " $i ," >> $filter
|
||||
fi
|
||||
i=`expr $i + 1`
|
||||
done
|
||||
echo "};write;" >> $filter
|
||||
# Apply this filter to a grib2 file from samples.
|
||||
|
|
Loading…
Reference in New Issue