Browse Source

feat(hooks): improve symlinks script

bergquist 10 years ago
parent
commit
dfd4fbc566
1 changed files with 3 additions and 1 deletions
  1. 3 1
      symlink_git_hooks.sh

+ 3 - 1
symlink_git_hooks.sh

@@ -1,3 +1,5 @@
 #/bin/bash
 
-ln -s -f .hooks/* .git/hooks/
+#ln -s -f .hooks/* .git/hooks/
+cd .git/hooks/
+cp --symbolic-link -f ../../.hooks/* .