From 3321821000fed1095405976a65fcd85d8e545866 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 20 Feb 2024 11:06:38 +0000 Subject: [PATCH] Remove find bodge, Hugo will correct the perms if they're right in the repo --- tools/branch-deploy.sh | 1 - tools/retro-deploy.sh | 3 --- 2 files changed, 4 deletions(-) diff --git a/tools/branch-deploy.sh b/tools/branch-deploy.sh index 1cce044..5295bc3 100755 --- a/tools/branch-deploy.sh +++ b/tools/branch-deploy.sh @@ -49,7 +49,6 @@ for BRANCH in $BRANCHES; do # Build to the destination folder for THEME in $THEMES; do hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}/${BRANCH}/${THEME}" -s "${TEMP_FOLDER}" -d "${TARGET_FOLDER}/${BRANCH}/${THEME}" -t "${THEME}" - find "${TARGET_FOLDER}/${BRANCH}/${THEME}" -name "*.cgi" -exec chmod a+x {} \; done # Cleanup the temp folder diff --git a/tools/retro-deploy.sh b/tools/retro-deploy.sh index 4dbd4ce..26e987e 100755 --- a/tools/retro-deploy.sh +++ b/tools/retro-deploy.sh @@ -11,6 +11,3 @@ HUGO_ARGUMENTS="--gc" # Pull the updates and run Hugo git pull hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro" - -# Make sure the CGI scripts are executable -find "${TARGET_FOLDER}" -name "*.cgi" -exec chmod a+x {} \; \ No newline at end of file