File: install_hooks.bash

package info (click to toggle)
autopep8 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,216 kB
  • sloc: python: 13,333; makefile: 131; sh: 16
file content (5 lines) | stat: -rwxr-xr-x 92 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#!/bin/bash -ex

readonly root=$(dirname "$0")
cd "$root"/.git/hooks
ln -fs ../../hooks/* .