[libcode-tidyall-perl] 344/374: cd to the .git/hooks directory before creating the symlink.

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:26:48 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit e66b77a578a03d616d2d69092fc0c5cef37b1ff6
Author: Olaf Alders <olaf at wundersolutions.com>
Date:   Wed Jan 23 14:57:16 2013 -0500

    cd to the .git/hooks directory before creating the symlink.
---
 lib/Code/TidyAll/Git/Precommit.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Code/TidyAll/Git/Precommit.pm b/lib/Code/TidyAll/Git/Precommit.pm
index 7a77bae..e35a11a 100644
--- a/lib/Code/TidyAll/Git/Precommit.pm
+++ b/lib/Code/TidyAll/Git/Precommit.pm
@@ -187,7 +187,8 @@ Commit your pre-commit script in C<git/hooks/pre-commit>
 Add a setup script in C<git/setup.sh> containing
 
     #!/bin/bash
-    ln -s git/hooks/pre-commit .git/hooks/pre-commit
+    cd .git/hooks
+    ln -s ../../git/hooks/pre-commit
 
 =item *
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list