Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from testcontainers/any-executable-hook-script
Browse files Browse the repository at this point in the history
Allow any executable to be used as a hook script
  • Loading branch information
rnorth authored Sep 7, 2020
2 parents 2f648c3 + c515de7 commit 7dd6bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ run_hook_scripts() {
for HOOK_SCRIPT in /dind-drone-plugin/hooks/$1/*; do
if [[ -x $HOOK_SCRIPT ]]; then
echo "📄 Running $1 hook script $HOOK_SCRIPT"
/bin/bash $HOOK_SCRIPT || exit 1
$HOOK_SCRIPT || exit 1
fi
done
}
Expand Down

0 comments on commit 7dd6bdf

Please sign in to comment.