summaryrefslogtreecommitdiff
path: root/package/editors
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-02-08 11:00:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-02-08 11:00:44 +0000
commit421b354ce25c6716f304ca487cbbecaf10697295 (patch)
treea2d0d682a2bd551a5f2b558be0ef682b9b795992 /package/editors
parent8b47a479f5df905f4dca07d354b599a4ce21f312 (diff)
vim: cleanup sed invocation
Diffstat (limited to 'package/editors')
-rw-r--r--package/editors/vim/vim.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/editors/vim/vim.mk b/package/editors/vim/vim.mk
index 9bf3d4816..fbe4faa47 100644
--- a/package/editors/vim/vim.mk
+++ b/package/editors/vim/vim.mk
@@ -9,7 +9,7 @@ VIM_SITE:=http://ftp.vim.org/pub/vim
VIM_SOURCE_SITE:=$(VIM_SITE)/unix
VIM_PATCH_SITE:=$(VIM_SITE)/patches/7.1
VIM_DIR:=$(BUILD_DIR)/vim71
-VIM_PATCHES:=$(shell cat package/editors/vim/patches | sed -s 's:\(.\+\):$(DL_DIR)/vim/$(VIM_VERSION).\1:')
+VIM_PATCHES:=$(shell sed -e 's:^:$(DL_DIR)/vim/$(VIM_VERSION).:' package/editors/vim/patches)
VIM_CONFIG_H:=$(VIM_DIR)/src/auto/config.h
VIM_CONFIG_MK:=$(VIM_DIR)/src/auto/config.mk