Skip to content

Commit f197da6

Browse files
committed
fix shellcheck error of SC2148
1 parent 5629309 commit f197da6

File tree

22 files changed

+22
-0
lines changed

22 files changed

+22
-0
lines changed

compiler/rustc_codegen_cranelift/scripts/config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
set -e
23

34
unamestr=`uname`

src/ci/docker/host-x86_64/dist-powerpc64-linux/shared.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
hide_output() {
23
set +x
34
on_err="

src/ci/docker/host-x86_64/dist-powerpc64le-linux/shared.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
hide_output() {
23
set +x
34
on_err="

src/ci/docker/host-x86_64/dist-riscv64-linux/crosstool-ng.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
set -ex
23

34
# Mirrored from https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.24.0.tar.gz

src/ci/docker/host-x86_64/dist-various-1/install-mips-musl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
set -ex
23

34
mkdir /usr/local/mips-linux-musl

src/ci/docker/host-x86_64/dist-various-1/install-mipsel-musl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
set -ex
23

34
mkdir /usr/local/mipsel-linux-musl

src/ci/docker/host-x86_64/dist-various-2/shared.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
hide_output() {
23
{ set +x; } 2>/dev/null
34
on_err="

src/ci/docker/host-x86_64/dist-x86_64-linux/shared.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
hide_output() {
23
set +x
34
on_err="

src/ci/docker/scripts/android-base-apt-get.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
set -ex
23

34
apt-get update

src/ci/docker/scripts/android-ndk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/sh
12
set -ex
23

34
URL=https://dl.google.com/android/repository

0 commit comments

Comments
 (0)