From 6ab69002e5b686ee4dacdc5a64d620d7361fb070 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 24 Feb 2024 11:24:38 +0100 Subject: [PATCH] more reliable include path --- db23.sh | 2 +- users.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db23.sh b/db23.sh index a3a25bb..e8a0d64 100755 --- a/db23.sh +++ b/db23.sh @@ -17,7 +17,7 @@ [ -n "$include_db23" ] && return 0 include_db23="$0" -. "$_EXEC/cgilite/storage.sh" +. "${_EXEC:-.}/cgilite/storage.sh" DB2() { local call data file key val seq diff --git a/users.sh b/users.sh index 18fde07..f60f8a6 100755 --- a/users.sh +++ b/users.sh @@ -17,8 +17,8 @@ [ -n "$include_users" ] && return 0 include_users="$0" -. "${_EXEC}/cgilite/session.sh" -. "${_EXEC}/cgilite/storage.sh" +. "${_EXEC:-.}/cgilite/session.sh" +. "${_EXEC:-.}/cgilite/storage.sh" SENDMAIL=${SENDMAIL-sendmail} -- 2.39.2