Skip to content

Commit 57d3486

Browse files
committed
scripts: get branch name from cpython
1 parent fb11ee6 commit 57d3486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mkdir -p logs
1515
# This confval is not needed since 3.12.
1616
# In 3.13, its presence messes 3.13's syntax checking (?)
1717
opts="-D language=${PYDOC_LANGUAGE} --keep-going -w ../../logs/sphinxwarnings.txt"
18-
minor_version=$(git branch --show-current | sed 's|^3\.||')
18+
minor_version=$(git -C cpython/Doc branch --show-current | sed 's|^3\.||')
1919
if [ $minor_version -lt 12 ]; then
2020
opts += '-D gettext_compact=False'
2121
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy