[Zope] RE: OT: using 'patch' with wildcards

Mike Renfro renfro@tntech.edu
Wed, 17 Oct 2001 08:47:31 -0500


On Wed, Oct 17, 2001 at 02:31:36PM +0400, Oleg Broytmann wrote:

>    Wrong. Shell will expand it as
> 
> patch -p0 < ../Patches/Patch1 ../Patches/Patch2

Ok, then. Assuming Bourne shell:

  for patch in ../Patches/*
  do
    patch -p0 < $patch
  done

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu