oehrlis / oudbase

OUD base environment scripts
Apache License 2.0
6 stars 1 forks source link

consolidate bash functions #68

Closed oehrlis closed 4 years ago

oehrlis commented 4 years ago

introduce a file for common bash functions used among the different scripts.

oehrlis commented 4 years ago

introduced oud_function.sh for internal bash functions like DoMsg and CleanAndQuit.

Start using oud_function.sh with

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P)"
# source common functions from oud_functions.sh
. ${SCRIPT_DIR}/oud_functions.sh

Adapted change to :