1 2 3 4 5 6 7 8
#!/bin/bash if [ -f extras/scripts/check_commit_msg.sh ];then echo "Running extras/scripts/check_commit_msg.sh" extras/scripts/check_commit_msg.sh else echo "Cannot find cat extras/scripts/check_commit_msg.sh - skipping commit message check" fi