| To: vim-dev@vim.org |
| Subject: patch 7.1.030 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| ------------ |
| |
| Patch 7.1.030 |
| Problem: The "vimtutor" shell script checks for "vim6" but not for "vim7". |
| (Christian Robinson) |
| Solution: Check for more versions, but prefer using "vim". |
| Files: src/vimtutor |
| |
| |
| *** ../vim-7.1.029/src/vimtutor Sun Jun 13 20:37:33 2004 |
| --- src/vimtutor Sun Jul 8 17:16:29 2007 |
| *************** |
| *** 39,56 **** |
| |
| trap "rm -rf $TODELETE" 0 1 2 3 9 11 13 15 |
| |
| ! |
| ! |
| ! testvim=`which vim6 2>/dev/null` |
| ! if test -f "$testvim"; then |
| ! VIM=vim6 |
| ! else |
| ! testvim=`which vim` |
| if test -f "$testvim"; then |
| ! VIM=vim |
| ! else |
| ! VIM=vi |
| fi |
| fi |
| |
| |
| --- 39,60 ---- |
| |
| trap "rm -rf $TODELETE" 0 1 2 3 9 11 13 15 |
| |
| ! |
| ! |
| ! |
| ! seq="vim vim8 vim75 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi" |
| ! for i in $seq; do |
| ! testvim=`which $i 2>/dev/null` |
| if test -f "$testvim"; then |
| ! VIM=$i |
| ! break |
| fi |
| + done |
| + |
| + |
| + |
| + if test -z "$VIM"; then |
| + VIM=vim |
| fi |
| |
| |
| *** ../vim-7.1.029/src/version.c Mon Jul 16 20:38:56 2007 |
| --- src/version.c Tue Jul 17 14:30:51 2007 |
| *************** |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 30, |
| /**/ |
| |
| -- |
| BLACK KNIGHT: I'm invincible! |
| ARTHUR: You're a looney. |
| "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |