Commit 5c96cc3b by William Bader Committed by Jeff Law

* gcc_update: Allow patches compressed by bzip2.

From-SVN: r30680
parent 1c1c0761
Sun Nov 28 00:41:44 1999 William Bader (william@nscs.fast.net)
* gcc_update: Allow patches compressed by bzip2.
1999-10-11 Martin v. Lwis <loewis@informatik.hu-berlin.de> 1999-10-11 Martin v. Lwis <loewis@informatik.hu-berlin.de>
* newcvsroot: New file. * newcvsroot: New file.
......
...@@ -123,6 +123,8 @@ apply_patch () { ...@@ -123,6 +123,8 @@ apply_patch () {
case "$1" in case "$1" in
*gz) *gz)
gzip -d -c $1 | patch -p1 ;; gzip -d -c $1 | patch -p1 ;;
*bz2)
bzip2 -d -c $1 | patch -p1 ;;
*) *)
cat $1 | patch -p1 ;; cat $1 | patch -p1 ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment