* gcc_update: Allow patches compressed by bzip2.

From-SVN: r30680
This commit is contained in:
William Bader 1999-11-28 07:41:09 +00:00 committed by Jeff Law
parent 1c1c0761d8
commit 5c96cc3ba4
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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. Löwis <loewis@informatik.hu-berlin.de>
* newcvsroot: New file.

View File

@ -123,6 +123,8 @@ apply_patch () {
case "$1" in
*gz)
gzip -d -c $1 | patch -p1 ;;
*bz2)
bzip2 -d -c $1 | patch -p1 ;;
*)
cat $1 | patch -p1 ;;
esac