Include library in all scripts.
This commit is contained in:
parent
7274c01428
commit
60c15ce2f0
2 changed files with 8 additions and 0 deletions
|
@ -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}"
|
||||||
|
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue