From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/genkernel:master commit in: worker_modules/
Date: Fri, 30 Aug 2019 21:41:27 +0000 (UTC) [thread overview]
Message-ID: <1567181026.85d2d98e0ca58f724b51ad37f01cd703f37bbeb6.whissi@gentoo> (raw)
commit: 85d2d98e0ca58f724b51ad37f01cd703f37bbeb6
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 16:03:46 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 16:03:46 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=85d2d98e
gkbuild.sh: _initialize(): Source gkbuild after $S was defined
This will allow gkbuilds to overwrite $S like known from ebuilds.
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
worker_modules/gkbuild.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh
index 92c7379..74a2505 100644
--- a/worker_modules/gkbuild.sh
+++ b/worker_modules/gkbuild.sh
@@ -247,9 +247,6 @@ _initialize() {
die "Unable to build ${P}: '${GK_SHARE}/gkbuilds/${PN}.gkbuild' does NOT exist!"
fi
- source "${GKBUILD}" \
- || die "Failed to source '${GKBUILD}'!"
-
declare -gr WORKDIR=$(mktemp -d -p "${TEMP}" ${PN}.XXXXXXXX 2>/dev/null)
[ -z "${WORKDIR}" ] && die "mktemp failed!"
@@ -282,6 +279,9 @@ _initialize() {
S="${WORKDIR}/${GKPKG_SRCDIR}"
+ source "${GKBUILD}" \
+ || die "Failed to source '${GKBUILD}'!"
+
# Some tools like eltpatch (libtoolize) depend on these variables
export S D
next reply other threads:[~2019-08-30 21:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 21:41 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-27 10:56 [gentoo-commits] proj/genkernel:master commit in: worker_modules/ Sam James
2021-03-15 20:02 Thomas Deutschmann
2020-07-16 15:03 Thomas Deutschmann
2020-06-20 2:17 Thomas Deutschmann
2020-06-20 2:17 Thomas Deutschmann
2019-12-14 0:26 Thomas Deutschmann
2019-11-24 20:00 Thomas Deutschmann
2019-08-30 21:41 Thomas Deutschmann
2019-08-30 21:41 Thomas Deutschmann
2019-08-30 21:41 Thomas Deutschmann
2019-07-29 20:10 Thomas Deutschmann
2019-07-21 16:26 Thomas Deutschmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1567181026.85d2d98e0ca58f724b51ad37f01cd703f37bbeb6.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox