[csw-devel] SF.net SVN: gar:[12482] csw/mgar/pkg/subversion/trunk/Makefile

rthurner at users.sourceforge.net rthurner at users.sourceforge.net
Mon Jan 10 07:28:41 CET 2011


Revision: 12482
          http://gar.svn.sourceforge.net/gar/?rev=12482&view=rev
Author:   rthurner
Date:     2011-01-10 06:28:41 +0000 (Mon, 10 Jan 2011)

Log Message:
-----------
subversion,use find to not gsed directories

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

Modified: csw/mgar/pkg/subversion/trunk/Makefile
===================================================================
--- csw/mgar/pkg/subversion/trunk/Makefile	2011-01-10 02:27:47 UTC (rev 12481)
+++ csw/mgar/pkg/subversion/trunk/Makefile	2011-01-10 06:28:41 UTC (rev 12482)
@@ -289,8 +289,8 @@
 
 install-extras:
 	@echo "~~~ patching contributions with csw paths ~~~"
+	gfind $(WORKSRC)/contrib -type f -print0 | gxargs -0 gsed -i -e 's,/usr/bin/svn,/opt/csw/bin/svn,' {}
 	gsed -i -e 's,/usr/bin/perl,/opt/csw/bin/perl,' $(WORKSRC)/contrib/*/*.pl
-	gsed -i -e 's,/usr/bin/svnlook,/opt/csw/bin/svnlook,' $(WORKSRC)/contrib/*/*
 	gsed -i -e 's,/usr/bin/perl,/opt/csw/bin/perl,' $(WORKSRC)/contrib/*/*.cgi
 	gsed -i -e 's,/usr/bin/,/opt/csw/bin/,' $(WORKSRC)/contrib/*/svnmirror.sh
 	@echo "~~~ install tools and contrib ~~~"


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