1#!/bin/sh 2# Copyright 2005-2018 ECMWF. 3# 4# This software is licensed under the terms of the Apache Licence Version 2.0 5# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. 6# 7# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by 8# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction. 9# 10set -e 11same=`./same_int_long` 12 13if [ $same -eq 1 ] 14then 15 long=grib_f90_int.f90 16else 17 long=grib_f90_long_int.f90 18fi 19 20same=`./same_int_size_t` 21 22if [ $same -eq 1 ] 23then 24 sizet=grib_f90_int_size_t.f90 25else 26 sizet=grib_f90_long_size_t.f90 27fi 28 29cat grib_f90_head.f90 $long $sizet grib_f90_tail.f90 > grib_f90.f90 30 31