X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Blake Subject: Re: cygport patch - =?utf-8?b?YXBwbHlfcGF0Y2g=?= Date: Wed, 17 Jan 2007 21:48:31 +0000 (UTC) Lines: 34 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Eric Blake byu.net> writes: > > apply_patch has a typo in 0.2.8 that breaks operation when trying to prep a > package: Nevermind that my suggestion had a typo as well. -- Eric Blake --- /bin/cygport.orig 2007-01-17 14:23:36.211079400 -0700 +++ /bin/cygport 2007-01-17 14:39:54.305198900 -0700 @@ -532,10 +532,10 @@ while (( patchlevel <= 3 )) do - if patch -N -s --dry-run -p${patchlevel} -i ${patchfile} &> /dev/null + if patch -N -s --dry-run -p${patchlevel} -i ${patchfile_path} &> /dev/null then inform "applying patch ${patchfile_name}:"; - patch -N -p${patchlevel} -i ${patchfile} || error "patch ${patchfile_name} failed" + patch -N -p${patchlevel} -i ${patchfile_path} || error "patch ${patchfile_name} failed" break; else if (( patchlevel == 3 )) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/