From 85a8f0a64f83222c913cd5b8423748e464a26bfb Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Thu, 16 May 2024 16:25:07 -0400 Subject: [PATCH] Make install.sh useful for non-Docker installations (#2210) --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 09caa92f8f..2f85a86cf8 100644 --- a/install.sh +++ b/install.sh @@ -39,8 +39,9 @@ exit 1 trap error_handler ERR -# Temporarily change to /cdash -pushd "/cdash" > /dev/null +# Temporarily change to the root of the CDash source tree. +SCRIPT_DIR=$(dirname "$0") +pushd "$SCRIPT_DIR" > /dev/null echo "Enabling maintenance mode..." php artisan down --render="maintenance" --refresh=5