From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect:master commit in: /
Date: Wed, 1 Jun 2016 19:50:23 +0000 (UTC) [thread overview]
Message-ID: <1464810561.67bcfe4cf1874a8571255a9612da75c5c9d1afde.ulm@gentoo> (raw)
commit: 67bcfe4cf1874a8571255a9612da75c5c9d1afde
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 1 19:49:21 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 1 19:49:21 2016 +0000
URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=67bcfe4c
Make configure test for git more robust.
* configure.ac: Make testing for git repository more robust.
ChangeLog | 2 ++
configure.ac | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index c166ad0..087baae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2016-06-01 Ulrich Müller <ulm@gentoo.org>
+ * configure.ac: Make testing for git repository more robust.
+
* configure.ac: Where possible, use AC_CHECK_PROGS instead of
AC_PATH_PROGS, in order to avoid absolute paths, bug 122260.
* libs/core.bash.in (sed):
diff --git a/configure.ac b/configure.ac
index 6fce662..9a72546 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ AC_SUBST(EPREFIX)
AC_MSG_CHECKING([whether building from git])
EXTRAVERSION=""
eselect_git_dir=${GIT_DIR:-${srcdir}/.git}
-if test -d "${eselect_git_dir}"; then
+if GIT_DIR="${eselect_git_dir}" git rev-parse >/dev/null 2>&1; then
COMMIT=`GIT_DIR="${eselect_git_dir}" git describe --long --always HEAD`
if test x$COMMIT != x; then
EXTRAVERSION=", git commit $COMMIT"
next reply other threads:[~2016-06-01 19:50 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 19:50 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-02 18:26 [gentoo-commits] proj/eselect:master commit in: / Ulrich Müller
2025-02-02 18:26 Ulrich Müller
2024-11-18 6:05 Ulrich Müller
2024-11-18 6:05 Ulrich Müller
2023-09-13 18:20 Ulrich Müller
2023-09-13 18:20 Ulrich Müller
2023-08-09 15:37 Ulrich Müller
2023-08-09 15:37 Ulrich Müller
2023-06-12 16:24 Ulrich Müller
2023-06-12 16:24 Ulrich Müller
2023-06-07 7:29 Ulrich Müller
2023-06-07 7:29 Ulrich Müller
2023-06-06 18:52 Ulrich Müller
2023-06-06 18:52 Ulrich Müller
2023-03-20 17:25 Ulrich Müller
2023-03-20 17:25 Ulrich Müller
2023-03-15 11:04 Ulrich Müller
2023-02-27 17:40 Ulrich Müller
2022-01-19 3:54 Ulrich Müller
2022-01-19 3:54 Ulrich Müller
2022-01-08 17:14 Ulrich Müller
2022-01-08 17:14 Ulrich Müller
2021-12-28 9:41 Ulrich Müller
2021-12-28 9:41 Ulrich Müller
2021-02-19 13:33 Ulrich Müller
2020-12-16 12:49 Ulrich Müller
2020-12-16 12:49 Ulrich Müller
2019-11-28 19:23 Ulrich Müller
2019-11-28 19:23 Ulrich Müller
2019-11-28 13:41 Ulrich Müller
2019-11-28 13:41 Ulrich Müller
2019-09-04 10:40 Ulrich Müller
2019-09-04 10:40 Ulrich Müller
2019-09-04 10:40 Ulrich Müller
2019-09-02 11:28 Ulrich Müller
2019-09-02 10:39 Ulrich Müller
2019-02-17 7:52 Ulrich Müller
2019-02-17 7:52 Ulrich Müller
2018-05-30 16:01 Ulrich Müller
2018-05-30 16:01 Ulrich Müller
2018-01-24 10:03 Ulrich Müller
2018-01-24 10:03 Ulrich Müller
2018-01-09 9:08 Ulrich Müller
2018-01-09 9:08 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-09-17 21:41 Ulrich Müller
2017-03-22 5:26 Ulrich Müller
2017-03-22 5:26 Ulrich Müller
2016-12-10 9:33 Ulrich Müller
2016-12-10 9:33 Ulrich Müller
2016-10-30 9:17 Ulrich Müller
2016-10-30 9:17 Ulrich Müller
2016-06-17 18:42 Ulrich Müller
2016-06-17 18:42 Ulrich Müller
2015-08-22 14:49 Ulrich Müller
2015-08-13 10:07 Ulrich Müller
2015-08-13 10:07 Ulrich Müller
2015-08-13 10:07 Ulrich Müller
2015-01-24 12:27 Ulrich Müller
2015-01-24 12:27 Ulrich Müller
2015-01-24 12:27 Ulrich Müller
2015-01-17 23:52 Ulrich Müller
2014-09-01 16:55 Ulrich Müller
2014-09-01 16:55 Ulrich Müller
2014-05-24 17:51 Ulrich Müller
2014-05-24 17:51 Ulrich Müller
2014-05-20 8:03 Ulrich Müller
2014-05-20 7:46 Ulrich Müller
2014-05-20 6:53 Ulrich Müller
2014-03-20 14:15 Ulrich Müller
2014-03-20 14:15 Ulrich Müller
2014-02-15 0:00 Ulrich Müller
2014-02-15 0:00 Ulrich Müller
2013-12-07 13:28 Ulrich Müller
2013-10-27 18:40 Ulrich Müller
2013-10-27 14:51 Ulrich Müller
2013-08-28 6:11 Ulrich Mueller
2013-08-28 6:11 Ulrich Mueller
2013-08-28 6:11 Ulrich Mueller
2013-08-08 20:59 Ulrich Mueller
2013-07-16 16:08 Ulrich Mueller
2013-07-16 16:08 Ulrich Mueller
2013-07-14 8:19 Ulrich Mueller
2013-07-11 6:14 Ulrich Mueller
2013-07-06 13:17 Ulrich Mueller
2013-07-06 13:17 Ulrich Mueller
2013-06-22 15:58 Ulrich Mueller
2013-06-22 15:58 Ulrich Mueller
2013-01-06 19:09 Ulrich Mueller
2013-01-05 15:35 Ulrich Mueller
2012-10-23 8:40 Ulrich Mueller
2012-10-23 8:40 Ulrich Mueller
2012-10-13 9:16 Ulrich Mueller
2012-10-13 9:16 Ulrich Mueller
2012-10-13 9:16 Ulrich Mueller
2012-09-14 22:41 Ulrich Mueller
2012-09-13 17:11 Ulrich Mueller
2012-09-12 22:09 Ulrich Mueller
2012-06-27 17:07 Ulrich Mueller
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=1464810561.67bcfe4cf1874a8571255a9612da75c5c9d1afde.ulm@gentoo \
--to=ulm@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