From 632e55b1901be3405f793ab2b6650aa574ff9a51 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 27 Jun 2018 18:12:18 +0200 Subject: [PATCH] script: fix whitespace --- script/fullbuild | 30 +++++++++++++++--------------- script/toolchain-download | 6 +++--- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/script/fullbuild b/script/fullbuild index 834d4e253..85b8290a9 100755 --- a/script/fullbuild +++ b/script/fullbuild @@ -50,9 +50,9 @@ worktree_copy() { local dest="$BUILD_DIR/${basename%.*}-$describe.${basename##*.}" for extension in "${ARTIFACT_EXTENSIONS[@]}"; do - install -Dm0644 \ - "${src%.*}.$extension" \ - "${dest%.*}.$extension" + install -Dm0644 \ + "${src%.*}.$extension" \ + "${dest%.*}.$extension" done printf "%s" "$dest" @@ -66,28 +66,28 @@ main() { worktree_build "$BOOTLOADER_DIR" local bootloader_path="$(worktree_copy \ - "$BOOTLOADER_DIR" \ - "$BOOTLOADER_FILENAME" \ - "bl*")" + "$BOOTLOADER_DIR" \ + "$BOOTLOADER_FILENAME" \ + "bl*")" worktree_setup "$FIRMWARE_DIR" "$firmware_commit" cp "$BOOTLOADER_PATH" "$FIRMWARE_DIR/$BOOTLOADER_FILENAME" worktree_build "$FIRMWARE_DIR" local firmware_path="$(worktree_copy \ - "$FIRMWARE_DIR" \ - "$FIRMWARE_FILENAME" \ - "v*")" + "$FIRMWARE_DIR" \ + "$FIRMWARE_FILENAME" \ + "v*")" printf "\n\n"; script/fingerprint \ - "$bootloader_path" \ - --max-size 32768 \ - --double + "$bootloader_path" \ + --max-size 32768 \ + --double printf "\n\n"; script/fingerprint \ - "$firmware_path" \ - --offset 256 \ - --max-size 491520 + "$firmware_path" \ + --offset 256 \ + --max-size 491520 } main "$@" diff --git a/script/toolchain-download b/script/toolchain-download index b5438037b..6314e5dc8 100755 --- a/script/toolchain-download +++ b/script/toolchain-download @@ -1,7 +1,7 @@ #!/bin/bash # script/toolchain-download: Download and extract the GNU Arm Embedded toolchain -# for building the TREZOR firmware. +# for building the TREZOR firmware. set -e @@ -37,8 +37,8 @@ extract_download() { if [ ! -d "$DIRECTORY" ]; then if ! validate_download; then - download_file - validate_download + download_file + validate_download fi extract_download