Explorar el Código

MOAR PIPEFAIL

Tianon Gravi hace 10 años
padre
commit
91c373d218
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      .template-helpers/variant.sh
  2. 1 1
      hello-world/update.sh

+ 1 - 1
.template-helpers/variant.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-set -e
+set -eo pipefail
 
 repo="$1"
 if [ -z "$repo" ]; then

+ 1 - 1
hello-world/update.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-set -e
+set -eo pipefail
 
 docker pull hello-world &> /dev/null