From ef25f4bfa4931126588f248142452bc3fa2d9603 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 4 Sep 2025 13:41:57 +0930 Subject: [PATCH] tools: fix indentation. Whitespace changes only. Signed-off-by: Rusty Russell --- tools/build-release.sh | 8 ++++---- tools/repro-build.sh | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tools/build-release.sh b/tools/build-release.sh index af2155164..1f8c98463 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -172,13 +172,13 @@ for target in $TARGETS; do Ubuntu*) distributions=${platform#Ubuntu-} [ "$distributions" = "Ubuntu" ] && distributions="focal jammy noble" - for d in $distributions; do + for d in $distributions; do # Capitalize the first letter of distro D=$(echo "$d" | awk '{print toupper(substr($0,1,1))substr($0,2)}') - echo "Building Ubuntu $D Image" - docker run --rm -v "$(pwd)":/repo -e FORCE_MTIME="$MTIME" -e FORCE_VERSION="$VERSION" cl-repro-"$d" + echo "Building Ubuntu $D Image" + docker run --rm -v "$(pwd)":/repo -e FORCE_MTIME="$MTIME" -e FORCE_VERSION="$VERSION" -e MAKEPAR="$MAKEPAR" cl-repro-"$d" echo "Ubuntu $D Image Built" - done + done ;; *) echo "No Dockerfile for $platform" >&2 diff --git a/tools/repro-build.sh b/tools/repro-build.sh index b5a3af611..0d0963da3 100755 --- a/tools/repro-build.sh +++ b/tools/repro-build.sh @@ -9,19 +9,19 @@ export LANG LC_ALL for arg; do case "$arg" in --force-version=*) - FORCE_VERSION=${arg#*=} + FORCE_VERSION=${arg#*=} ;; - --force-mtime=*) - FORCE_MTIME=${arg#*=} - ;; - --help) - echo "Usage: [--force-version=] [--force-mtime=YYYY-MM-DD]" - exit 0 - ;; - *) - echo "Unknown arg $arg" >&2 - exit 1 - ;; + --force-mtime=*) + FORCE_MTIME=${arg#*=} + ;; + --help) + echo "Usage: [--force-version=] [--force-mtime=YYYY-MM-DD]" + exit 0 + ;; + *) + echo "Unknown arg $arg" >&2 + exit 1 + ;; esac shift done