[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [install bash] how to use patch files
From: |
Greg Wooledge |
Subject: |
Re: [install bash] how to use patch files |
Date: |
Wed, 18 Sep 2013 14:28:16 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Sep 18, 2013 at 11:54:13PM +0800, zxycscj wrote:
> I have downlaod bash-4.2.tar.gz and all the patches for it.
> how to use the patch files to install?
>
> http://ftp.gnu.org/gnu/bash/
> bash-4.2.tar.gz
>
> http://ftp.gnu.org/gnu/bash/bash-4.2-patches/
> bash42-001.sig
> bash42-001.txt
...
gzip -dc bash-4.2.tar.gz | tar xf -
cd bash-4.2
for f in ../bash42-*.txt; do
patch -p0 < "$f"
done