From bfe1d7eca8f9a267a3bd9032d72c8b370f5ebc36 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 31 Jul 2024 01:22:12 +0100 Subject: [PATCH] Update build configuration files --- run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run b/run index e3f6103..5c1148b 100755 --- a/run +++ b/run @@ -35,7 +35,8 @@ function start { } # 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="Task completed in %3lR" time "${@:-help}"