#!/bin/bash mkdir -p .git/hooks cat >.git/hooks/post-commit <<EOF #!/bin/bash # Generated by $0 touch -c configure.ac EOF chmod +x .git/hooks/post-commit