summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-09 17:12:51 -0300
committerEuAndreh <eu@euandre.org>2025-04-09 17:12:51 -0300
commitddeaed64bfb0380db415c6e4027f265f74c60ccd (patch)
treea87a8af58c08c716feb05b244186dcc7a59f3e0c /src/conf
parentsrc/conf: Extract embedded-config from document header variables (diff)
downloadmkwb-ddeaed64bfb0380db415c6e4027f265f74c60ccd.tar.gz
mkwb-ddeaed64bfb0380db415c6e4027f265f74c60ccd.tar.xz
src/*: "./" is enough for sourcing with ".", no need to use realpath(1)
Diffstat (limited to 'src/conf')
-rwxr-xr-xsrc/conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf b/src/conf
index b423e23..fcc1466 100755
--- a/src/conf
+++ b/src/conf
@@ -49,7 +49,7 @@ dateiso() {
CONF="${1:-}"
FILENAME="${2:-}"
eval "$(assert-arg -- "$CONF" 'CONF')"
-. "$(realpath -- "$CONF")"
+. ./"$CONF"
needs "${url_pre:-}" 'Missing required $url_pre (e.g. https://example.com)'