contrib: reformat most shell scripts
Mostly just indentations. For consistency, to conform to .editorconfig.
This commit is contained in:
@@ -21,7 +21,7 @@ python3 -m pip install --upgrade pip
|
||||
|
||||
rm -rf "$PROJECT_ROOT/packages/"
|
||||
if ([ "$OMIT_UNCLEAN_FILES" != 1 ]); then
|
||||
"$CONTRIB"/make_packages.sh || fail "make_packages failed"
|
||||
"$CONTRIB"/make_packages.sh || fail "make_packages failed"
|
||||
fi
|
||||
|
||||
git submodule update --init
|
||||
@@ -48,9 +48,10 @@ fi
|
||||
find -exec touch -h -d '2000-11-11T11:11:11+00:00' {} +
|
||||
|
||||
# note: .zip sdists would not be reproducible due to https://bugs.python.org/issue40963
|
||||
if ([ "$OMIT_UNCLEAN_FILES" = 1 ])
|
||||
then PY_DISTDIR="dist/_sourceonly" # The DISTDIR variable of this script is only used to find where the output is *finally* placed.
|
||||
else PY_DISTDIR="dist"
|
||||
if ([ "$OMIT_UNCLEAN_FILES" = 1 ]); then
|
||||
PY_DISTDIR="dist/_sourceonly" # The DISTDIR variable of this script is only used to find where the output is *finally* placed.
|
||||
else
|
||||
PY_DISTDIR="dist"
|
||||
fi
|
||||
TZ=UTC faketime -f '2000-11-11 11:11:11' python3 setup.py --quiet sdist --format=gztar --dist-dir="$PY_DISTDIR"
|
||||
if ([ "$OMIT_UNCLEAN_FILES" = 1 ]); then
|
||||
|
||||
Reference in New Issue
Block a user