[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash40-011 patch can't be applied cleanly
From: |
Greg Wooledge |
Subject: |
Re: bash40-011 patch can't be applied cleanly |
Date: |
Thu, 19 Nov 2009 08:05:02 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Nov 18, 2009 at 06:54:01PM -0800, Sergei Steshenko wrote:
> My script was applying patches from 'bash-4.0-patches' directory, not from
> 'bash-4.0' one, and maybe this was my mistake.
Yes. You should always be in the source directory you're patching,
when you apply a patch. The only question is whether you need to use
patch -p0 or patch -p1. And the only way you'll know that is by reading
the patch itself.
In the case of Chet's bash patches, it's always -p0.
(I'm saying this mostly for anyone reading the archives, since this is
a common point of confusion.)