summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-10 01:11:14 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-10 01:11:14 +0000
commit36ea93d4d0ff5e842598ade9e9141f2b1f67f50a (patch)
tree28526c77926d147412492ca345590dccb5a52a88 /eclass
parentVersion bump for the /proc/cmdline leak vulnerability; bug #59905. (diff)
downloadhistorical-36ea93d4d0ff5e842598ade9e9141f2b1f67f50a.tar.gz
historical-36ea93d4d0ff5e842598ade9e9141f2b1f67f50a.tar.bz2
historical-36ea93d4d0ff5e842598ade9e9141f2b1f67f50a.zip
support compressed makeself files
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 299d774c64d7..e8aa704c6e6b 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.92 2004/08/03 17:24:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.93 2004/08/10 01:11:14 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -1018,7 +1018,11 @@ unpack_makeself() {
gzip*)
tail -n +${skip} ${src} | tar --no-same-owner -xzf -
;;
+ compress*)
+ tail -n +${skip} ${src} | gunzip | tar --no-same-owner -xf -
+ ;;
*)
+ eerror "Unknown filetype \"${filetype}\" ?"
false
;;
esac