]> granicus.if.org Git - vim/commitdiff
patch 7.4.2167 v7.4.2167
authorBram Moolenaar <Bram@vim.org>
Sat, 6 Aug 2016 17:45:31 +0000 (19:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 6 Aug 2016 17:45:31 +0000 (19:45 +0200)
Problem:    Small build can't run tests.
Solution:   Don't try setting 'packpath'.

src/testdir/setup.vim
src/version.c

index dee3de21208d452772ead0435ea3d66867e2d5ea..a02840158b5bc9a488c183231e9d4550e83b4b2a 100644 (file)
@@ -2,7 +2,9 @@
 
 " Make sure 'runtimepath' and 'packpath' does not include $HOME.
 set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
-let &packpath = &rtp
+if has('packages')
+  let &packpath = &rtp
+endif
 
 " Only when the +eval feature is present. 
 if 1
index 2add5968f28a38ee3fa90ac54452a08c87586531..d5623c4cd7c639b64d7ae613cd06f6d2f3392a68 100644 (file)
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2167,
 /**/
     2166,
 /**/