[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What to do when new version available upstream...



On Mon, Mar 01, 1999 at 08:55:57AM +0000, Jules Bean wrote:
> > I usually extract the new one (or apply a patch if that is the method),
> > gunzip -dc old_version.diff.gz > somefile, then edit that 'somefile' and
> > replace all instances of progdirectory-1.2.0 with progdirectory-1.2.1.
> > Then apply that new diff with patch -p0 < somefile. And then clean up the
> > .rej and .orig files and apply the missing stuff manually.
> 
> The editing isn't necessary.
> 
> Simply patch -p1 < somefile and it will ignore the first directory
> component (the versioned directory).

Cool! So, I should just do
cd prog-oldversion; zcat ../prog_oldversion.diff.gz | patch -p1
and it will work? I'll try.

ADC, is this procedure mentioned in newest developer's reference?

-- 
enJoy -*/\*- http://jagor.srce.hr/~jrodin/


Reply to: