Merge "Allow scripts-library.sh to be sourced anywhere"
This commit is contained in:
commit
34894c4b55
@ -328,7 +328,7 @@ trap "exit_fail ${LINENO} $?" ERR
|
||||
## Determine OS --------------------------------------------------------------
|
||||
# Determine the operating system of the base host
|
||||
# Adds the $HOST_DISTRO, $HOST_VERSION, and $HOST_CODENAME bash variables.
|
||||
eval "$(python $(dirname ${0})/os-detection.py)"
|
||||
eval "$(python $(dirname ${BASH_SOURCE})/os-detection.py)"
|
||||
echo "Detected ${HOST_DISTRO} ${HOST_VERSION} (codename: ${HOST_CODENAME})"
|
||||
|
||||
## Pre-flight check ----------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user