mirror of https://github.com/ecmwf/eccodes.git
Scripts: Do not use ksh
This commit is contained in:
parent
2a7e0a5395
commit
6847b36b58
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ksh
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
cat > accessor_class_list.gperf <<EOF
|
||||
%{
|
||||
|
@ -14,6 +14,9 @@ cat grib_accessor_factory_hash_list | sed 's/\/\*/#/g' >> accessor_class_list.gp
|
|||
|
||||
# editing grib_accessor_classes_hash.c
|
||||
|
||||
gperf --version
|
||||
echo
|
||||
|
||||
gperf -C -W classes -t -G -H grib_accessor_classes_get_id -N grib_accessor_classes_hash -m 1 -j 1 accessor_class_list.gperf |\
|
||||
sed s/__inline//g | sed s/inline//g > grib_accessor_classes_hash.c
|
||||
|
||||
|
|
Loading…
Reference in New Issue