executable home dir

This commit is contained in:
marito 2025-06-16 23:19:49 +00:00
parent 900d24075f
commit 1af513600d

View File

@ -6,6 +6,7 @@
# Find the script's own directory to run from the correct location,
# ensuring that playbook.yml and other files are found.
chmod +x /home/$(whoami)
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR"