%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/old/home/stash/data/bin/git-hooks/
Upload File :
Create Path :
Current File : //data/old/home/stash/data/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

Zerion Mini Shell 1.0