diff --git a/maintenance.sh b/maintenance.sh index 30efc8ac..4de5d897 100755 --- a/maintenance.sh +++ b/maintenance.sh @@ -17,7 +17,7 @@ for part in "${parts[@]}"; do done if $include; then - file="${part%.yml}.maintenance" + file="$BASPATH/${part%.yml}.maintenance" if [ -f "$file" ]; then echo "File $file exists. Executing it as a Bash script." # Execute the file as a Bash script