fix shellcheck error of SC2148

This commit is contained in:
Daiki Ihara 2020-11-03 22:55:49 +09:00
parent 56293097f7
commit f197da655f
22 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
set -e
unamestr=`uname`

View File

@ -1,3 +1,4 @@
#!/bin/sh
hide_output() {
set +x
on_err="

View File

@ -1,3 +1,4 @@
#!/bin/sh
hide_output() {
set +x
on_err="

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
# Mirrored from https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.24.0.tar.gz

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
mkdir /usr/local/mips-linux-musl

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
mkdir /usr/local/mipsel-linux-musl

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
hide_output() {
{ set +x; } 2>/dev/null
on_err="

View File

@ -1,3 +1,4 @@
#!/bin/sh
hide_output() {
set +x
on_err="

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
apt-get update

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
URL=https://dl.google.com/android/repository

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
export ANDROID_HOME=/android/sdk

View File

@ -1,3 +1,4 @@
#!/bin/sh
apt-get update && apt-get install -y --no-install-recommends \
automake \
bison \

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
# Mirrored from https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.24.0.tar.gz

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.22.0.tar.gz"

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
hide_output() {

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
curl -f https://ftp.gnu.org/gnu/make/make-3.81.tar.gz | tar xzf -

View File

@ -1,3 +1,4 @@
#!/bin/sh
# This script runs `musl-cross-make` to prepare C toolchain (Binutils, GCC, musl itself)
# and builds static libunwind that we distribute for static target.
#

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
hide_output() {

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
groupadd -r rustbuild && useradd -m -r -g rustbuild rustbuild

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -ex
case "$(uname -m)" in

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -exuo pipefail
CRATE=example

View File

@ -1,3 +1,4 @@
#!/bin/sh
set -exuo pipefail
function build {