From 45d0257229bbbdc189684a4414dc839824fb13cf Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 31 Jul 2024 01:22:09 +0100 Subject: [PATCH] Update build configuration files --- run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run b/run index 7d7d3f7..bf87429 100755 --- a/run +++ b/run @@ -141,7 +141,8 @@ function _run { } # Include any local tasks. -[[ -e run.local ]] && source run.local +# https://stackoverflow.com/a/6659698 +[[ -e "${BASH_SOURCE%/*}/run.local" ]] && source "${BASH_SOURCE%/*}/run.local" TIMEFORMAT=$'\nTask completed in %3lR' time "${@:-help}"