Add missing spaces to find calls

This commit is contained in:
2024-02-20 11:01:33 +00:00
parent 0eda78bcc4
commit a6d3d15a17
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ for BRANCH in $BRANCHES; do
# Build to the destination folder # Build to the destination folder
for THEME in $THEMES; do for THEME in $THEMES; do
hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}/${BRANCH}/${THEME}" -s "${TEMP_FOLDER}" -d "${TARGET_FOLDER}/${BRANCH}/${THEME}" -t "${THEME}" 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 {}\; find "${TARGET_FOLDER}/${BRANCH}/${THEME}" -name "*.cgi" -exec chmod a+x {} \;
done done
# Cleanup the temp folder # Cleanup the temp folder

View File

@@ -13,4 +13,4 @@ git pull
hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro" hugo --quiet ${HUGO_ARGUMENTS} -b "${BASE_URL}" -d "${TARGET_FOLDER}" -t "lhs-retro"
# Make sure the CGI scripts are executable # Make sure the CGI scripts are executable
find "${TARGET_FOLDER}" -name "*.cgi" -exec chmod a+x {}\; find "${TARGET_FOLDER}" -name "*.cgi" -exec chmod a+x {} \;