#!/bin/bash top_dir=`git rev-parse --show-toplevel` cd $top_dir/.git/hooks ln -s ../../scripts/validate_examples_hook pre-commit