* gcc_update: Allow patches compressed by bzip2.
authorWilliam Bader <william@nscs.fast.net>
Sun, 28 Nov 1999 07:41:09 +0000 (07:41 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 28 Nov 1999 07:41:09 +0000 (00:41 -0700)
From-SVN: r30680

contrib/ChangeLog
contrib/gcc_update

index fc5758d7168626f804b93e4553146f22e4672917..af3c1689b55203f881552a83001417d94ac6e4bf 100644 (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.
index e7fa727d61bd7b9688f56da1bb03736f5442a8c9..a25e275025bd7f920971ea81ae06a4f3e4c25b8f 100755 (executable)
@@ -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