To:
[email protected]
Subject: Patch 5.6a.015
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
------------
Patch 5.6a.015
Problem: The vimtutor command doesn't always know the value of $VIMRUNTIME.
Solution: Let Vim expand $VIMRUNTIME, instead of the shell.
Files: src/vimtutor
*** ../vim-5.6a.14/src/vimtutor Mon Dec 20 09:59:15 1999
--- src/vimtutor Mon Dec 27 12:27:02 1999
***************
*** 5,11 ****
# Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
TUTORCOPY=/tmp/tutor$$
export TUTORCOPY
! vim -c ':!cp $VIMRUNTIME/tutor/tutor $TUTORCOPY' -c ':q'
# Start vim without any .vimrc, set 'nocompatible'
vim -u NONE -c "set nocp" $TUTORCOPY
--- 5,11 ----
# Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
TUTORCOPY=/tmp/tutor$$
export TUTORCOPY
! vim -u NONE -c 'e $VIMRUNTIME/tutor/tutor' -c 'w! $TUTORCOPY' -c 'q'
# Start vim without any .vimrc, set 'nocompatible'
vim -u NONE -c "set nocp" $TUTORCOPY
*** ../vim-5.6a.14/src/version.c Wed Dec 29 12:11:02 1999
--- src/version.c Wed Dec 29 12:15:32 1999
***************
*** 420,421 ****
--- 420,423 ----
{ /* Add new patch number below this line */
+ /**/
+ 15,
/**/
--
"Beware of bugs in the above code; I have only proved
it correct, not tried it." -- Donald Knuth
--/-/---- Bram Moolenaar ----
[email protected] ----
[email protected] ---\-\--
\ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /