summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-28 07:41:09 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-28 07:41:09 +0000
commit34d21c0d217467d23cc6ae09c0a17455cbf35792 (patch)
tree38e694b4b24311db92c4b534bb145c8d836e88b0 /contrib
parentac5ef106728257ea3673b3055a334f45f09382f2 (diff)
downloadgcc-34d21c0d217467d23cc6ae09c0a17455cbf35792.tar.gz
* gcc_update: Allow patches compressed by bzip2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30680 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gcc_update2
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index fc5758d7168..af3c1689b55 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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.
diff --git a/contrib/gcc_update b/contrib/gcc_update
index e7fa727d61b..a25e275025b 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -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