From 7e22823ec09c2faa5ca2df4a140eda030a6688c8 Mon Sep 17 00:00:00 2001 From: Juan Escobar <escj@aero.obs-mip.fr> Date: Tue, 25 Apr 2017 11:25:51 +0200 Subject: [PATCH] Juan 25/04/2017:Makefile, for MacOS , in xargs replace -i -> -I{} --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index d2d234d36..44311eeab 100644 --- a/src/Makefile +++ b/src/Makefile @@ -383,7 +383,7 @@ install : $(patsubst %,%-${ARCH_XYZ},$(PROG_LIST)) install_tools $(PROG_LIST) : OBJ_PROG=$(shell find $(PROG_DIR) -follow -type f -name "spll_*.f*" \ | xargs grep -l -E -i "^[[:space:]]*program *$@" | sed -e 's/\.f.*/.o/g' | head -1 \ - | xargs basename | xargs -i find $(PROG_DIR) -follow -name {} -print | head -1 ) + | xargs basename | xargs -I{} find $(PROG_DIR) -follow -name {} -print | head -1 ) $(PROG_LIST) : $(LIB_MNH) $(LIB_GRIBEX) # echo OBJ_PROG=$(OBJ_PROG) -- GitLab