Skip to content

Commit 7b6e149

Browse files
authored
lint.sh: fix sed command
1 parent 886bdc5 commit 7b6e149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mkdir -p logs
1919
touch logs/sphinxlint.txt
2020

2121
# Disable literal blocks and update PO
22-
sed -i "s/^\s*'literal-block',/s/ '/ #'/" cpython/Doc/conf.py
22+
sed -i "/^\s*'literal-block',/s/ '/ #'/" cpython/Doc/conf.py
2323
./scripts/generate_templates.sh
2424
sphinx-intl update -d cpython/Doc/locale -l pt_BR
2525

0 commit comments

Comments
 (0)