Fail script on any error.

This commit is contained in:
awalsh128 2021-10-16 21:17:55 -07:00
parent c014946be0
commit 6c13cf414f
3 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Fail on any error.
set -e
# Directory that holds the cached packages.
cache_dir=$1
# List of the packages to use.

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Fail on any error.
set -e
# Directory that holds the cached packages.
cache_dir=$1
# Root directory to untar the cached packages to.

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Fail on any error.
set -e
packages=$1
echo -n "* Validating action arguments... ";