atst/script/include/global_header.inc.sh
Devon Mackay c4283fe1a4 Remove interpreter specification
These script fragments should only ever be sourced rather then directly
executed
2018-07-10 10:55:28 -04:00

12 lines
351 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
source ./script/include/*_functions.inc.sh