Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2797f58

Browse files
authored
Error on unset variable in scritps (#339)
* Error on unset variable in build.sh* Error on unset variable in update.sh
1 parent12fad78 commit2797f58

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎.github/scripts/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
set -e
4+
set -u
45
set -o pipefail
56

67
error() {
@@ -14,4 +15,4 @@ cd cpython/Doc || exit 1
1415
mkdir -p locales/"$LOCALE"/
1516
ln -sfn"$(realpath ../../docs)" locales/"$LOCALE"/LC_MESSAGES
1617
pip3 install -q -r requirements.txt
17-
sphinx-build -b dummy -d build/doctrees -j auto -D language=$LOCALE -D gettext_compact=0 -W --keep-going -W. build/html2>>(error)
18+
sphinx-build -b dummy -d build/doctrees -j auto -D language=$LOCALE -D gettext_compact=0 -W --keep-going -W. build/html2>>(error)

‎.github/scripts/update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -u
4+
35
cd cpython||exit 1
46

57
# Restore git timestamp for enabling build cache

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp