set -e shuffling

This commit is contained in:
Michael Vines
2018-11-11 09:25:59 -08:00
parent def7d156f6
commit 3466f139a4
13 changed files with 12 additions and 13 deletions

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Audits project dependencies for security vulnerabilities # Audits project dependencies for security vulnerabilities
# #
set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Outputs the current crate version # Outputs the current crate version
# #
set -e
cd "$(dirname "$0")"/.. cd "$(dirname "$0")"/..

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Run the entire buildkite CI pipeline locally for pre-testing before sending a # Run the entire buildkite CI pipeline locally for pre-testing before sending a
# Github pull request # Github pull request
# #
set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."
BKRUN=ci/node_modules/.bin/bkrun BKRUN=ci/node_modules/.bin/bkrun

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Reference: https://github.com/koalaman/shellcheck/wiki/Directive # Reference: https://github.com/koalaman/shellcheck/wiki/Directive
set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."

View File

@ -382,8 +382,8 @@ EOF
declare startupScript="$netConfigDir"/instance-startup-script.sh declare startupScript="$netConfigDir"/instance-startup-script.sh
cat > "$startupScript" <<EOF cat > "$startupScript" <<EOF
#!/usr/bin/env bash #!/usr/bin/env bash
set -ex
# autogenerated at $(date) # autogenerated at $(date)
set -ex
cat > /etc/motd <<EOM cat > /etc/motd <<EOM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -ex
# #
# Rsync setup for Snap builds # Rsync setup for Snap builds
# #
set -ex
[[ $(uname) = Linux ]] || exit 1 [[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1 [[ $USER = root ]] || exit 1

View File

@ -1,6 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -ex set -ex
#
[[ $(uname) = Linux ]] || exit 1 [[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1 [[ $USER = root ]] || exit 1

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -ex
# #
# Updates the default cuda symlink to the supported version # Updates the default cuda symlink to the supported version
# #
set -ex
[[ $(uname) = Linux ]] || exit 1 [[ $(uname) = Linux ]] || exit 1
[[ $USER = root ]] || exit 1 [[ $USER = root ]] || exit 1

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Installs native programs as |cargo install| doesn't know about them # Installs native programs as |cargo install| doesn't know about them
# #
set -e
here=$(dirname "$0") here=$(dirname "$0")
SOLANA_ROOT="$(cd "$here"/..; pwd)" SOLANA_ROOT="$(cd "$here"/..; pwd)"

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Send a metrics datapoint # Send a metrics datapoint
# #
set -e
point=$1 point=$1
if [[ -z $point ]]; then if [[ -z $point ]]; then

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Reports network statistics # Reports network statistics
# #
set -e
[[ $(uname) == Linux ]] || exit 0 [[ $(uname) == Linux ]] || exit 0

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Reports Linux OOM Killer activity # Reports Linux OOM Killer activity
# #
set -e
cd "$(dirname "$0")" cd "$(dirname "$0")"

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
# #
# Wallet sanity test # Wallet sanity test
# #
set -e
cd "$(dirname "$0")"/.. cd "$(dirname "$0")"/..