[csw-devel] SF.net SVN: gar:[11734] csw/mgar/pkg/git/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Nov 27 15:28:02 CET 2010


Revision: 11734
          http://gar.svn.sourceforge.net/gar/?rev=11734&view=rev
Author:   bdwalton
Date:     2010-11-27 14:28:02 +0000 (Sat, 27 Nov 2010)

Log Message:
-----------
git: patch the sample hook file to reference a CSW path

Modified Paths:
--------------
    csw/mgar/pkg/git/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/git/trunk/files/0003-Update-path-in-sample-hook-file.patch

Modified: csw/mgar/pkg/git/trunk/Makefile
===================================================================
--- csw/mgar/pkg/git/trunk/Makefile	2010-11-27 14:16:55 UTC (rev 11733)
+++ csw/mgar/pkg/git/trunk/Makefile	2010-11-27 14:28:02 UTC (rev 11734)
@@ -88,6 +88,7 @@
 
 PATCHFILES += 0001-Update-path-in-documentation-to-be-CSW-proper.patch
 PATCHFILES += 0002-Alter-the-value-of-_PATH_DEFPATH-when-paths.h-not-pr.patch
+PATCHFILES += 0003-Update-path-in-sample-hook-file.patch
 
 fdirs = $(bindir_install) $(mandir) $(libexecdir_install)
 define _git_files

Added: csw/mgar/pkg/git/trunk/files/0003-Update-path-in-sample-hook-file.patch
===================================================================
--- csw/mgar/pkg/git/trunk/files/0003-Update-path-in-sample-hook-file.patch	                        (rev 0)
+++ csw/mgar/pkg/git/trunk/files/0003-Update-path-in-sample-hook-file.patch	2010-11-27 14:28:02 UTC (rev 11734)
@@ -0,0 +1,26 @@
+From 0aaf1ea1247f9821df75908d3343a0efe43cb3ac Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Sat, 27 Nov 2010 15:25:31 +0100
+Subject: [PATCH] Update path in sample hook file
+
+The post-receive-email sample hook file referenced /usr/share.  Update
+this to be /opt/csw/share.
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ templates/hooks--post-receive.sample |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/templates/hooks--post-receive.sample b/templates/hooks--post-receive.sample
+index 7a83e17..aaa5121 100755
+--- a/templates/hooks--post-receive.sample
++++ b/templates/hooks--post-receive.sample
+@@ -12,4 +12,4 @@
+ # see contrib/hooks/ for a sample, or uncomment the next line and
+ # rename the file to "post-receive".
+ 
+-#. /usr/share/doc/git-core/contrib/hooks/post-receive-email
++#. /opt/csw/share/doc/git/contrib/hooks/post-receive-email
+-- 
+1.7.3
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list