16 lines
408 B
Bash
Executable File
16 lines
408 B
Bash
Executable File
# global_header.inc: Any basic things that should be executed at the
|
|
# beginning of any and every script
|
|
|
|
# If any command fails, immediately exit the script
|
|
set -e
|
|
|
|
# Ensure the working directory is the app root directory
|
|
cd "$(dirname "${0}")/.."
|
|
|
|
# Source all function definition files
|
|
|
|
for function_snippet in ./script/include/*_functions.inc.sh
|
|
do
|
|
source "${function_snippet}"
|
|
done
|