%PDF- %PDF-
| Direktori : /proc/self/root/data/old/home/stash/bin/git-hooks/ |
| Current File : //proc/self/root/data/old/home/stash/bin/git-hooks/hook-coordinator.sh |
#!/usr/bin/env bash
#>*******************************************************
# THIS FILE WAS AUTO-GENERATED BY ATLASSIAN STASH.
# IT CONTAINS NO USER-SERVICEABLE PARTS.
#>*******************************************************
hook_input=`cat`
hook_dir="${1}"
shift
for file in ${hook_dir}/*
do
if [[ -f $file ]]; then
echo "${hook_input}" | $file "$@"
exit_code=$?
if [[ "${exit_code}" -ne "0" ]]; then
exit ${exit_code}
fi
fi
done