summaryrefslogtreecommitdiff
path: root/package/editors/vim/vim.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/editors/vim/vim.mk')
-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