aboutsummaryrefslogtreecommitdiff
path: root/load.sh
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-06 09:19:15 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-06 09:19:15 +0200
commitaf619936e6f46ca30c652e2eebf9ada0f3b64ea9 (patch)
tree096fc5b364ef2e6c85f701a06c56110e74ed7988 /load.sh
parent1083db296869fdf6cbb9b4ac1739b62f21428920 (diff)
downloadatrocity-af619936e6f46ca30c652e2eebf9ada0f3b64ea9.tar.gz
atrocity-af619936e6f46ca30c652e2eebf9ada0f3b64ea9.tar.bz2
atrocity-af619936e6f46ca30c652e2eebf9ada0f3b64ea9.zip
Fix incorrect base loadHEADmaster
Diffstat (limited to 'load.sh')
-rw-r--r--load.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.sh b/load.sh
index 3deaab6..47ab31a 100644
--- a/load.sh
+++ b/load.sh
@@ -3,7 +3,7 @@ if [ "$(basename -- "$_atrocity_init_file")" != "load.sh" ] || [ "${#BASH_SOURCE
echo "ERROR: Atrocity must be sourced. If you have atrocity in a sub module, use \`source \"\$(dirname -- \"\$0\")\"/atrocity/load.sh\`"
exit 1
fi
-_atrocity_base="$(dirname -- "$(readlink -f -- _atrocity_init_file)")"
+_atrocity_base="$(dirname -- "$(readlink -f -- "$_atrocity_init_file")")"
source "$_atrocity_base"/logger.sh
source "$_atrocity_base"/events.sh