From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/openresolv/
Date: Sat, 23 Apr 2022 02:09:59 +0000 (UTC) [thread overview]
Message-ID: <1650679751.c45ed414df8fcd17ece70028d945dbda6f89b1f9.sam@gentoo> (raw)
commit: c45ed414df8fcd17ece70028d945dbda6f89b1f9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 02:09:04 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 02:09:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45ed414
net-dns/openresolv: fix ROOT check in pkg_postinst
With EAPI 7+, ROOT and others will be blank (not /).
Fixes: b6803d6d2c323f3133445ab886dce168429f39d2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-dns/openresolv/openresolv-3.12.0-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-dns/openresolv/openresolv-3.12.0-r1.ebuild b/net-dns/openresolv/openresolv-3.12.0-r1.ebuild
index 69e175c0d2ab..f70291af0349 100644
--- a/net-dns/openresolv/openresolv-3.12.0-r1.ebuild
+++ b/net-dns/openresolv/openresolv-3.12.0-r1.ebuild
@@ -25,8 +25,8 @@ src_configure() {
}
pkg_config() {
- if [[ -z ${ROOT} ]]; then
- eerror "We cannot configure unless \$ROOT=/"
+ if [[ -n ${ROOT} ]]; then
+ eerror "We cannot configure unless \$ROOT is empty"
return 1
fi
next reply other threads:[~2022-04-23 2:10 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-23 2:09 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-13 17:25 [gentoo-commits] repo/gentoo:master commit in: net-dns/openresolv/ Ben Kohler
2025-05-07 16:38 Ben Kohler
2025-04-10 19:29 Ben Kohler
2023-07-16 22:21 Ben Kohler
2023-07-14 13:00 Ben Kohler
2023-06-29 19:57 Ben Kohler
2023-06-07 12:48 Ben Kohler
2023-04-23 11:59 Ben Kohler
2023-04-23 11:59 Ben Kohler
2023-04-23 11:59 Ben Kohler
2023-04-15 12:54 Ben Kohler
2022-05-17 12:48 WANG Xuerui
2022-04-22 17:43 Sam James
2021-08-20 9:35 Yixun Lan
2021-07-20 10:41 Ben Kohler
2021-05-18 14:15 Ben Kohler
2021-03-29 13:49 Ben Kohler
2021-03-24 16:52 Ben Kohler
2021-03-21 8:24 Joonas Niilola
2020-12-29 20:33 Sam James
2020-10-11 9:30 Joonas Niilola
2020-09-14 1:48 Sam James
2020-08-17 10:21 Sam James
2020-08-17 10:19 Sam James
2020-06-22 13:13 Joonas Niilola
2020-06-19 15:41 Sergei Trofimovich
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2019-12-02 10:13 Lars Wendler
2019-05-23 6:39 Aaron Bauman
2018-09-28 0:18 Alon Bar-Lev
2018-04-08 5:02 Alon Bar-Lev
2018-04-07 22:11 Matt Turner
2018-03-26 18:35 Aaron Bauman
2017-12-05 5:44 Markus Meier
2017-10-22 21:42 Tobias Klausmann
2017-10-13 0:13 Sergei Trofimovich
2017-10-12 18:48 Sergei Trofimovich
2017-10-12 18:48 Sergei Trofimovich
2017-10-09 22:48 Thomas Deutschmann
2017-10-07 13:33 Michael Palimaka
2017-06-26 8:37 Alexis Ballier
2017-04-22 16:12 Alon Bar-Lev
2017-04-22 15:21 Alon Bar-Lev
2017-04-22 13:32 Jeroen Roovers
2017-03-16 9:45 Michael Weber
2017-03-06 15:50 Tobias Klausmann
2015-10-29 20:55 Alon Bar-Lev
2015-08-26 10:30 Agostino Sarubbo
2015-08-22 5:08 Jeroen Roovers
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=1650679751.c45ed414df8fcd17ece70028d945dbda6f89b1f9.sam@gentoo \
--to=sam@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