From f2b9b3a0c24abfec3de548a1c617ab1443fe3057 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Thu, 6 Feb 2014 02:24:43 +0100 Subject: [PATCH] Detect $SED dynamically, but do not force `gsed` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 35f30de..575c5c1 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ VERSION = $(shell $(SED) -n -e '/Current \+release/{s/^ \+\([0-9.]\+\).*/\1/;p FILENAME = $(NAME)-$(VERSION) DESTDIR = $(HOME)/.vim VIM = vim -SED = gsed +SED = $(shell command -v gsed || command -v sed) PERL = perl comma := , empty :=