Blame SOURCES/7.4.340

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.340
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.340
22c937
Problem:    Error from sed about illegal bytes when installing Vim.
22c937
Solution:   Prepend LC_ALL=C. (Itchyny)
22c937
Files:	    src/installman.sh
22c937
22c937
22c937
*** ../vim-7.4.339/src/installman.sh	2010-05-15 13:04:07.000000000 +0200
22c937
--- src/installman.sh	2014-06-25 14:54:11.742381748 +0200
22c937
***************
22c937
*** 43,52 ****
22c937
     fi
22c937
  fi
22c937
  
22c937
  if test $what = "install"; then
22c937
     # vim.1
22c937
     echo installing $destdir/$exename.1
22c937
!    sed -e s+/usr/local/lib/vim+$vimloc+ \
22c937
  	   -e s+$vimloc/doc+$helpsubloc+ \
22c937
  	   -e s+$vimloc/print+$printsubloc+ \
22c937
  	   -e s+$vimloc/syntax+$synsubloc+ \
22c937
--- 43,55 ----
22c937
     fi
22c937
  fi
22c937
  
22c937
+ # Note: setting LC_ALL to C is required to avoid illegal byte errors from sed
22c937
+ # on some systems.
22c937
+ 
22c937
  if test $what = "install"; then
22c937
     # vim.1
22c937
     echo installing $destdir/$exename.1
22c937
!    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
22c937
  	   -e s+$vimloc/doc+$helpsubloc+ \
22c937
  	   -e s+$vimloc/print+$printsubloc+ \
22c937
  	   -e s+$vimloc/syntax+$synsubloc+ \
22c937
***************
22c937
*** 64,70 ****
22c937
  
22c937
     # vimtutor.1
22c937
     echo installing $destdir/$exename""tutor.1
22c937
!    sed -e s+/usr/local/lib/vim+$vimloc+ \
22c937
  	   -e s+$vimloc/tutor+$tutorsubloc+ \
22c937
  	   $helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
22c937
     chmod $manmod $destdir/$exename""tutor.1
22c937
--- 67,73 ----
22c937
  
22c937
     # vimtutor.1
22c937
     echo installing $destdir/$exename""tutor.1
22c937
!    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
22c937
  	   -e s+$vimloc/tutor+$tutorsubloc+ \
22c937
  	   $helpsource/vimtutor$langadd.1 > $destdir/$exename""tutor.1
22c937
     chmod $manmod $destdir/$exename""tutor.1
22c937
***************
22c937
*** 76,82 ****
22c937
  
22c937
     # evim.1
22c937
     echo installing $destdir/$evimname.1
22c937
!    sed -e s+/usr/local/lib/vim+$vimloc+ \
22c937
  	   -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
22c937
  	   $helpsource/evim$langadd.1 > $destdir/$evimname.1
22c937
     chmod $manmod $destdir/$evimname.1
22c937
--- 79,85 ----
22c937
  
22c937
     # evim.1
22c937
     echo installing $destdir/$evimname.1
22c937
!    LC_ALL=C sed -e s+/usr/local/lib/vim+$vimloc+ \
22c937
  	   -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \
22c937
  	   $helpsource/evim$langadd.1 > $destdir/$evimname.1
22c937
     chmod $manmod $destdir/$evimname.1
22c937
*** ../vim-7.4.339/src/version.c	2014-06-25 14:44:04.458358774 +0200
22c937
--- src/version.c	2014-06-25 14:55:14.198384111 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     340,
22c937
  /**/
22c937
22c937
-- 
22c937
DEAD PERSON:  I'm getting better!
22c937
CUSTOMER:     No, you're not -- you'll be stone dead in a moment.
22c937
MORTICIAN:    Oh, I can't take him like that -- it's against regulations.
22c937
                                  The Quest for the Holy Grail (Monty Python)
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///