diff options
Diffstat (limited to 'scripts/deploy')
| -rwxr-xr-x | scripts/deploy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy b/scripts/deploy index 206087d..7d59a86 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -44,7 +44,7 @@ chmod +x "${BIN_DIR}/claudomator" echo "==> Copying scripts..." mkdir -p "${SITE_DIR}/scripts" -cp -p "${REPO_DIR}/scripts/"* "${SITE_DIR}/scripts/" +find "${REPO_DIR}/scripts" -maxdepth 1 -type f -exec cp -p {} "${SITE_DIR}/scripts/" \; chown -R www-data:www-data "${SITE_DIR}/scripts" find "${SITE_DIR}/scripts" -maxdepth 1 -type f -exec chmod +x {} + |
