From 0d4a21ab60d5ef8b6ebdb1f0de6b0391d663f6d5 Mon Sep 17 00:00:00 2001 From: Anthony Islas Date: Tue, 27 Aug 2024 16:26:44 -0700 Subject: [PATCH] Remove sed rewrite of io flags --- external/ioapi_share/makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/external/ioapi_share/makefile b/external/ioapi_share/makefile index 9548bb3dd0..49893377cc 100644 --- a/external/ioapi_share/makefile +++ b/external/ioapi_share/makefile @@ -6,13 +6,8 @@ all: ../../inc/wrf_io_flags.h ../../inc/wrf_status_codes.h # The if statement below modifies WRF data type codes for builds made with # compiler autopromotion of REAL -> DOUBLE. ../../inc/wrf_io_flags.h : wrf_io_flags.h ../../configure.wrf - ( /bin/rm -f ../../inc/wrf_io_flags.h foo_io_flags.h; \ - /bin/cp wrf_io_flags.h foo_io_flags.h; \ - if [ -n $(DOUBLE_PRECISION) ] ; then \ - /bin/rm -f foo_io_flags.h; \ - sed -e 's/104/105/' wrf_io_flags.h > foo_io_flags.h ;\ - fi ; \ - /bin/mv foo_io_flags.h ../../inc/wrf_io_flags.h ) + /bin/rm -f ../../inc/wrf_io_flags.h + /bin/cp wrf_io_flags.h ../../inc/wrf_io_flags.h ../../inc/wrf_status_codes.h : wrf_status_codes.h /bin/rm -f ../../inc/wrf_status_codes.h