Include library in all scripts.

This commit is contained in:
awalsh128 2022-06-30 08:28:26 -07:00
parent 7274c01428
commit 60c15ce2f0
2 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,10 @@
# Fail on any error. # Fail on any error.
set -e set -e
# Include library.
script_dir="$(dirname -- "$(realpath -- "${0}")")"
source "${script_dir}/lib.sh"
# Directory that holds the cached packages. # Directory that holds the cached packages.
cache_dir="${1}" cache_dir="${1}"

View file

@ -3,6 +3,10 @@
# Fail on any error. # Fail on any error.
set -e set -e
# Include library.
script_dir="$(dirname -- "$(realpath -- "${0}")")"
source "${script_dir}/lib.sh"
# Directory that holds the cached packages. # Directory that holds the cached packages.
cache_dir="${1}" cache_dir="${1}"