X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Makefile.gen;fp=Makefile.gen;h=be8dc4ba5a9bfad56d5e27a247c4d8a253969b15;hb=d075dcd6dae7e9c39d85cfa31decbac09add9b6e;hp=7bd527b582efc3da1277621155e895301b6b64a5;hpb=c053b6a24cc64b87644348c2cb777ab803ca886c;p=enc.git diff --git a/Makefile.gen b/Makefile.gen index 7bd527b5..be8dc4ba 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -41,9 +41,9 @@ SRC=confirmation.html\ all: $(foreach l,$(LANG),$(foreach f,$(SRC),$l/$f)) -## Function to make this work with Gnu and BSD sed +## Function to select gsed if sed is not GNU sed but BSD sed define sedi - sed --version >/dev/null 2>&1 && sed -i || sed -i "" + sed --version >/dev/null 2>&1 && sed -i || gsed -i endef