commit: fbf5dfdd896430710b087515b08e34d528ae8ce1
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 16:59:10 2018 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 19:22:07 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf5dfdd
eclass/unpacker.eclass: Add support for makeself 2.4.0
eclass/unpacker.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
index c2c69dbc7d6..41aa3ef43da 100644
--- a/eclass/unpacker.eclass
+++ b/eclass/unpacker.eclass
@@ -202,7 +202,7 @@ unpack_makeself() {
skip=`grep -a ^offset= "${src}" | awk '{print
$3}'`
(( skip++ ))
;;
- 2.1.4|2.1.5|2.1.6|2.2.0)
+ 2.1.4|2.1.5|2.1.6|2.2.0|2.4.0)
skip=$(grep -a offset=.*head.*wc "${src}" | awk
'{print $3}' | head -n 1)
skip=$(head -n ${skip} "${src}" | wc -c)
exe="dd"