summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-05-02 23:46:06 +0200
committerGitHub <noreply@github.com>2017-05-02 23:46:06 +0200
commit4dae0d111dd7bb34ec730eea2327a3219acff211 (patch)
tree10fa92f9dc514ff4ef073f180f859d7cbd8ef151 /configure
parent3c422b92653df05c7034136b77f76376aa5aec4f (diff)
downloadcpython-git-4dae0d111dd7bb34ec730eea2327a3219acff211.tar.gz
[3.6] bpo-30232: Support Git worktree in configure.ac (#1398)
* bpo-30232: Support Git worktree in configure.ac (#1391) Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists. (cherry picked from commit 5facdbb29169c2799c42f887cef4cd9d087b0167) * bpo-30232: Regenerate configure (#1396) Run autoconf. (cherry picked from commit 9ed34a89532763cf89f5e11fffb91ef7dee29fed)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 227d1d24b3..3c611d6afa 100755
--- a/configure
+++ b/configure
@@ -2711,7 +2711,7 @@ fi
-if test -e $srcdir/.git/HEAD
+if test -e $srcdir/.git
then
# Extract the first word of "git", so it can be a program name with args.
set dummy git; ac_word=$2