Gentoo Archives: gentoo-commits

From: Christian Ruppert <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 25 Aug 2018 19:22:53
Message-Id: 1535224927.fbf5dfdd896430710b087515b08e34d528ae8ce1.idl0r@gentoo
1 commit: fbf5dfdd896430710b087515b08e34d528ae8ce1
2 Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 25 16:59:10 2018 +0000
4 Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 25 19:22:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf5dfdd
7
8 eclass/unpacker.eclass: Add support for makeself 2.4.0
9
10 eclass/unpacker.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
14 index c2c69dbc7d6..41aa3ef43da 100644
15 --- a/eclass/unpacker.eclass
16 +++ b/eclass/unpacker.eclass
17 @@ -202,7 +202,7 @@ unpack_makeself() {
18 skip=`grep -a ^offset= "${src}" | awk '{print $3}'`
19 (( skip++ ))
20 ;;
21 - 2.1.4|2.1.5|2.1.6|2.2.0)
22 + 2.1.4|2.1.5|2.1.6|2.2.0|2.4.0)
23 skip=$(grep -a offset=.*head.*wc "${src}" | awk '{print $3}' | head -n 1)
24 skip=$(head -n ${skip} "${src}" | wc -c)
25 exe="dd"