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.)