When git runs my post-receive hook, I'd like it to run all the scripts in the subdirectory post-receive.d.My script is as follows#!/bin/bashSOURCE=${BASH_SOURCE[0]}DIR=$( dirname $SOURCE )for SCRIPT in $DIR/post-receive.d/*do  if [ -f $SCRIPT -a -x $SCRIPT ]   then    $SCRIPT  fidoneSource: https://github.com/alexchamberlain/githooks/blob/master/post-receiveIs this secure? Reliable?I can foresee one problem. The hook supplies data using stdin, which should be copied to each subscript. I'm pretty sure this isn't happening at the moment. Any ideas?
Run all scripts in a sub-directory
security;bash;shell;git