Skip to content

Commit 861fd0f

Browse files
djcrami3l
authored andcommitted
Clean up trailing whitespace in rustup-init.sh
1 parent b6fdf2f commit 861fd0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rustup-init.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ main() {
154154
ensure downloader "$_url" "$_file" "$_arch"
155155
ensure chmod u+x "$_file"
156156
if [ ! -x "$_file" ]; then
157-
err "Cannot execute $_file (likely because of mounting /tmp as noexec)."
158-
err "Please copy the file to a location where you can execute binaries and run ./rustup-init${_ext}."
157+
err "Cannot execute $_file (likely because of mounting /tmp as noexec)."
158+
err "Please copy the file to a location where you can execute binaries and run ./rustup-init${_ext}."
159159
exit 1
160160
fi
161161

@@ -508,7 +508,7 @@ get_architecture() {
508508
err "This host is running an x32 userland, for which no native toolchain is provided."
509509
err "You will have to install multiarch compatibility with i686 or amd64."
510510
err "To do so, set the RUSTUP_CPUTYPE environment variable set to i686 or amd64 and re-run this script."
511-
err "You will be able to add an x32 target after installation by running \`rustup target add x86_64-unknown-linux-gnux32\`."
511+
err "You will be able to add an x32 target after installation by running \`rustup target add x86_64-unknown-linux-gnux32\`."
512512
exit 1
513513
}; else
514514
_cputype=i686
@@ -588,7 +588,7 @@ check_cmd() {
588588
}
589589

590590
assert_nz() {
591-
if [ -z "$1" ]; then
591+
if [ -z "$1" ]; then
592592
err "assert_nz $2"
593593
exit 1
594594
fi

0 commit comments

Comments
 (0)