Commit 8a3fa6f8 authored by Dashamir Hoxha's avatar Dashamir Hoxha

Fix the order of searching for custom commands

parent e689dd70
......@@ -54,12 +54,12 @@ call() {
# load the installation command file
[[ -f "$LIBDIR/${cmd//_//}.sh" ]] && source "$LIBDIR/${cmd//_//}.sh"
# load the application command file
[[ -f "$APP_DIR/${cmd//_//}.sh" ]] && source "$APP_DIR/${cmd//_//}.sh"
# load the environment command file
[[ -f "$DSDIR/${cmd//_//}.sh" ]] && source "$DSDIR/${cmd//_//}.sh"
# load the application command file
[[ -f "$APP_DIR/${cmd//_//}.sh" ]] && source "$APP_DIR/${cmd//_//}.sh"
# load the container command file
[[ -f "${cmd//_//}.sh" ]] && source "${cmd//_//}.sh"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment