diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-05-03 00:05:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 00:05:45 +0200 |
commit | df5692549a68741d3d02eeee28f9fef74f349712 (patch) | |
tree | c39b260bcb1a5eed9f40b92e1332bcd400bcd5e7 /configure.ac | |
parent | 8105dd7f75b6aa5f812522d452cd378372752a10 (diff) | |
download | cpython-git-df5692549a68741d3d02eeee28f9fef74f349712.tar.gz |
bpo-30232: Support Git worktree in configure.ac (#1402)
Don't test if .git/HEAD file exists, but only if the .git file (or
directory) exists.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e620b088ca..aa74259ef5 100644 --- a/configure.ac +++ b/configure.ac @@ -983,7 +983,7 @@ AC_SUBST(GITVERSION) AC_SUBST(GITTAG) AC_SUBST(GITBRANCH) -if test -e $srcdir/.git/HEAD +if test -e $srcdir/.git then AC_CHECK_PROG(HAS_GIT, git, found, not-found) else |