[oe-commits] Tim Harvey : vim: fix do_install for those using FILESPATH* overrides
git version control
git at git.openembedded.org
Fri Nov 12 17:29:45 UTC 2010
Module: openembedded.git
Branch: master
Commit: b2e8382c2094d7fd0a1c8cafafeed8714a4f18bf
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b2e8382c2094d7fd0a1c8cafafeed8714a4f18bf
Author: Tim Harvey <harvey.tim at gmail.com>
Date: Fri Nov 12 07:13:40 2010 +0000
vim: fix do_install for those using FILESPATH* overrides
WORKDIR should be used for the source directory of vimrc. This fixes breakage
for those using FILESPATHBASE/FILESPATHPKG/FILESPATH overrides
Signed-off-by: Tim Harvey <harvey.tim at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/vim/vim_7.2.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/vim/vim_7.2.bb b/recipes/vim/vim_7.2.bb
index b887ce4..99a8e31 100644
--- a/recipes/vim/vim_7.2.bb
+++ b/recipes/vim/vim_7.2.bb
@@ -11,7 +11,7 @@ VIMX ?= "--without-x"
require vim.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
# 001-411.diff contains 411 patches fetched from upstream
SRC_URI += "file://001-411.diff;apply=no"
@@ -28,7 +28,7 @@ do_applypatch() {
addtask applypatch after do_unpack before do_patch
do_install_append() {
- install -m 0644 ${FILESDIR}/vimrc ${D}/${datadir}/vim
+ install -m 0644 ${WORKDIR}/vimrc ${D}/${datadir}/vim
}
RCONFLICTS_${PN} = "gvim vim-tiny"
More information about the Openembedded-commits
mailing list