From b6cc872ced9b967f897be42f27cceddd17987791 Mon Sep 17 00:00:00 2001 From: Donal Byrne Date: Fri, 27 Jul 2018 14:12:17 +0200 Subject: [PATCH] Added to all scripts --- beanstalkd-console/install.sh | 2 +- beanstalkd/install.sh | 2 +- hugin/install.sh | 2 +- jekyll/install.sh | 2 +- latex/install.sh | 2 +- mysql-backup-s3/backup.sh | 2 +- mysql-backup-s3/install.sh | 2 +- mysql-backup-s3/run.sh | 2 +- nodejs/install.sh | 2 +- octave/install.sh | 2 +- postgres-backup-s3/backup.sh | 2 +- postgres-backup-s3/install.sh | 2 +- postgres-backup-s3/run.sh | 2 +- postgres-restore-s3/install.sh | 2 +- postgres-restore-s3/restore.sh | 2 +- redis-commander/install.sh | 2 +- rust/install.sh | 2 +- s3cmd/install.sh | 2 +- s3cmd/run.sh | 2 +- scala-sbt-docker/install.sh | 2 +- swagger-ui/run.sh | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/beanstalkd-console/install.sh b/beanstalkd-console/install.sh index bf96206..d790951 100644 --- a/beanstalkd-console/install.sh +++ b/beanstalkd-console/install.sh @@ -1,7 +1,7 @@ #! /bin/sh # exit if a command fails -set -e +set -eo pipefail # download curl -sL https://github.com/ptrofimov/beanstalk_console/archive/master.tar.gz | tar xvz -C /tmp diff --git a/beanstalkd/install.sh b/beanstalkd/install.sh index 211e8bb..a3d2661 100644 --- a/beanstalkd/install.sh +++ b/beanstalkd/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail version="1.10" diff --git a/hugin/install.sh b/hugin/install.sh index aa47837..ab08eff 100644 --- a/hugin/install.sh +++ b/hugin/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install hugin & panotools apt-get update && apt-get install -y hugin diff --git a/jekyll/install.sh b/jekyll/install.sh index 0e0509d..347b60a 100644 --- a/jekyll/install.sh +++ b/jekyll/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install ruby 1.9.1 apt-get update && apt-get install -y ruby ruby-dev build-essential diff --git a/latex/install.sh b/latex/install.sh index 0107a6b..6e3b0e8 100644 --- a/latex/install.sh +++ b/latex/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install full texlive distribution apt-get update && apt-get install -y texlive-full diff --git a/mysql-backup-s3/backup.sh b/mysql-backup-s3/backup.sh index 4eca867..2b4b583 100644 --- a/mysql-backup-s3/backup.sh +++ b/mysql-backup-s3/backup.sh @@ -1,6 +1,6 @@ #!/bin/sh -set -e +set -eo pipefail if [ "${S3_ACCESS_KEY_ID}" == "**None**" ]; then echo "Warning: You did not set the S3_ACCESS_KEY_ID environment variable." diff --git a/mysql-backup-s3/install.sh b/mysql-backup-s3/install.sh index 1a2c772..ce29968 100644 --- a/mysql-backup-s3/install.sh +++ b/mysql-backup-s3/install.sh @@ -1,7 +1,7 @@ #!/bin/sh # exit if a command fails -set -e +set -eo pipefail apk update diff --git a/mysql-backup-s3/run.sh b/mysql-backup-s3/run.sh index 709c15d..ce209b5 100644 --- a/mysql-backup-s3/run.sh +++ b/mysql-backup-s3/run.sh @@ -1,6 +1,6 @@ #!/bin/sh -set -e +set -eo pipefail if [ "${S3_S3V4}" = "yes" ]; then aws configure set default.s3.signature_version s3v4 diff --git a/nodejs/install.sh b/nodejs/install.sh index 7ee4e8e..c88e6b0 100644 --- a/nodejs/install.sh +++ b/nodejs/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install node & npm apt-get update && apt-get install -y nodejs npm diff --git a/octave/install.sh b/octave/install.sh index c46a114..b063385 100644 --- a/octave/install.sh +++ b/octave/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install octave 3.6.2 (less needed as frontend) apt-get update && apt-get install -y octave less diff --git a/postgres-backup-s3/backup.sh b/postgres-backup-s3/backup.sh index 6e5a7f0..3b43360 100644 --- a/postgres-backup-s3/backup.sh +++ b/postgres-backup-s3/backup.sh @@ -1,6 +1,6 @@ #! /bin/sh -set -e +set -eo pipefail set -o pipefail if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then diff --git a/postgres-backup-s3/install.sh b/postgres-backup-s3/install.sh index 16c7119..bca5a1b 100644 --- a/postgres-backup-s3/install.sh +++ b/postgres-backup-s3/install.sh @@ -1,7 +1,7 @@ #! /bin/sh # exit if a command fails -set -e +set -eo pipefail apk update diff --git a/postgres-backup-s3/run.sh b/postgres-backup-s3/run.sh index e3fb3c8..c03f55d 100644 --- a/postgres-backup-s3/run.sh +++ b/postgres-backup-s3/run.sh @@ -1,6 +1,6 @@ #! /bin/sh -set -e +set -eo pipefail if [ "${S3_S3V4}" = "yes" ]; then aws configure set default.s3.signature_version s3v4 diff --git a/postgres-restore-s3/install.sh b/postgres-restore-s3/install.sh index be00ab0..e872274 100644 --- a/postgres-restore-s3/install.sh +++ b/postgres-restore-s3/install.sh @@ -1,7 +1,7 @@ #! /bin/sh # exit if a command fails -set -e +set -eo pipefail apk update diff --git a/postgres-restore-s3/restore.sh b/postgres-restore-s3/restore.sh index 495c237..2b42814 100644 --- a/postgres-restore-s3/restore.sh +++ b/postgres-restore-s3/restore.sh @@ -1,6 +1,6 @@ #! /bin/sh -set -e +set -eo pipefail set -o pipefail if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then diff --git a/redis-commander/install.sh b/redis-commander/install.sh index a57fd45..dd6686b 100644 --- a/redis-commander/install.sh +++ b/redis-commander/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install node & npm apt-get update && apt-get install -y nodejs npm diff --git a/rust/install.sh b/rust/install.sh index c9310fe..cef1c57 100644 --- a/rust/install.sh +++ b/rust/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install curl (needed to install rust) apt-get update && apt-get install -y curl gdb g++-multilib lib32stdc++6 libssl-dev libncurses5-dev diff --git a/s3cmd/install.sh b/s3cmd/install.sh index 72e6eb0..205fb2f 100644 --- a/s3cmd/install.sh +++ b/s3cmd/install.sh @@ -1,7 +1,7 @@ #! /bin/sh # exit if a command fails -set -e +set -eo pipefail # install s3cmd apk update diff --git a/s3cmd/run.sh b/s3cmd/run.sh index 2b6c886..668d97d 100755 --- a/s3cmd/run.sh +++ b/s3cmd/run.sh @@ -1,6 +1,6 @@ #! /bin/sh -set -e +set -eo pipefail echo "Running s3cmd ..." diff --git a/scala-sbt-docker/install.sh b/scala-sbt-docker/install.sh index 7ee4e8e..c88e6b0 100644 --- a/scala-sbt-docker/install.sh +++ b/scala-sbt-docker/install.sh @@ -1,7 +1,7 @@ #! /bin/bash # exit if a command fails -set -e +set -eo pipefail # install node & npm apt-get update && apt-get install -y nodejs npm diff --git a/swagger-ui/run.sh b/swagger-ui/run.sh index 6b13acf..87928c3 100644 --- a/swagger-ui/run.sh +++ b/swagger-ui/run.sh @@ -1,6 +1,6 @@ #! /bin/sh -set -e +set -eo pipefail replace_in_index () { if [ "$1" != "**None**" ]; then