Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/load-configuration4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 8426b78..ab0a183 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -47,6 +47,10 @@ fi
if [ -z "${base_dir}" ]; then
base_dir=$(printf '%s/..' "$(dirname "$(readlink -f "$0")")")
+ if printf '%s\n' "${0}" \
+ | grep -qx '.*/intention\.[0-9]\+'; then
+ base_dir="${base_dir}/.."
+ fi
fi
base_dir=$(