Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/file/
Date: Wed, 31 Mar 2021 08:03:24
Message-Id: 1617177790.7e8dcf9253be079020e8cf997b127a7bf020ce59.polynomial-c@gentoo
1 commit: 7e8dcf9253be079020e8cf997b127a7bf020ce59
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 08:01:42 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 08:03:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e8dcf92
7
8 sys-apps/file: Synced live ebuild
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-apps/file/file-9999.ebuild | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild
16 index 8e6aab3b29e..76a8c3e996e 100644
17 --- a/sys-apps/file/file-9999.ebuild
18 +++ b/sys-apps/file/file-9999.ebuild
19 @@ -43,7 +43,7 @@ PATCHES=(
20 src_prepare() {
21 default
22
23 - if [[ ${PV} == 9999 ]]; then
24 + if [[ ${PV} == 9999 ]] ; then
25 eautoreconf
26 fi
27
28 @@ -85,9 +85,9 @@ need_build_file() {
29 }
30
31 src_configure() {
32 - local ECONF_SOURCE=${S}
33 + local ECONF_SOURCE="${S}"
34
35 - if need_build_file; then
36 + if need_build_file ; then
37 mkdir -p "${WORKDIR}"/build || die
38 cd "${WORKDIR}"/build || die
39 build_src_configure
40 @@ -107,7 +107,7 @@ multilib_src_compile() {
41 }
42
43 src_compile() {
44 - if need_build_file; then
45 + if need_build_file ; then
46 emake -C "${WORKDIR}"/build/src magic.h #586444
47 emake -C "${WORKDIR}"/build/src file
48 local -x PATH="${WORKDIR}/build/src:${PATH}"