From 852d01d98d8e80b39d82c0d746b954275a7ef772 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 28 Aug 2023 10:40:34 -0700 Subject: [PATCH] Replace wildcard safe directory with htdocs --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index b11b2b3..b67c388 100644 --- a/init.sh +++ b/init.sh @@ -47,7 +47,7 @@ case $SOURCE in git config --global user.email "autodeploy@jafner.tools" git config --global user.name "AutoDeploy" git config --global pull.rebase false # Squelch nag message - git config --global --add safe.directory '*' # Disable directory ownership checking, required for mounted volumes + git config --global --add safe.directory '/usr/local/apache2/htdocs' # Disable directory ownership checking, required for mounted volumes git clone --filter=blob:none --no-checkout $DL_LINK . # clone the repo with no files and no object history git config core.sparseCheckout true # enable sparse checkout git sparse-checkout init