mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
Bash: Allow action non-interactive selection
You can directly run a specific action from command lines useful for cronjobs for example + splitted db_assembler in more files ready to be included from other bash scripts
This commit is contained in:
11
bin/db_assembler/includes/includes.sh
Normal file
11
bin/db_assembler/includes/includes.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CURRENT_PATH/../../bash_shared/includes.sh"
|
||||
|
||||
AC_PATH_DBASSEMBLER="$AC_PATH_BIN/db_assembler"
|
||||
|
||||
if [ -f "$AC_PATH_DBASSEMBLER/config.sh" ]; then
|
||||
source "$AC_PATH_DBASSEMBLER/config.sh" # should overwrite previous
|
||||
fi
|
||||
|
||||
source "$AC_PATH_DBASSEMBLER/includes/functions.sh"
|
||||
Reference in New Issue
Block a user