Skip to content

Commit

Permalink
Fix usage of find in entrypoint
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
  • Loading branch information
PhrozenByte committed Dec 22, 2023
1 parent cc74445 commit 1733e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ run_path() {
echo "=> Searching for scripts (*.sh) to run, located in the folder: ${hook_folder_path}"

(
find "${hook_folder_path}" -type f -maxdepth 1 -iname '*.sh' -print | sort | while read -r script_file_path; do
find "${hook_folder_path}" -maxdepth 1 -type f -iname '*.sh' -print | sort | while read -r script_file_path; do
if ! [ -x "${script_file_path}" ]; then
echo "==> The script \"${script_file_path}\" was skipped, because it didn't have the executable flag"
continue
Expand Down

0 comments on commit 1733e21

Please sign in to comment.