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

rthurner at users.sourceforge.net rthurner at users.sourceforge.net
Sat Apr 3 15:39:33 CEST 2010


Revision: 9527
          http://gar.svn.sourceforge.net/gar/?rev=9527&view=rev
Author:   rthurner
Date:     2010-04-03 13:39:33 +0000 (Sat, 03 Apr 2010)

Log Message:
-----------
hg-1.5.1 - change testsuite to use bash instead of sh, acc to ben walton and mads kiilerich

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

Modified: csw/mgar/pkg/mercurial/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mercurial/trunk/Makefile	2010-04-03 13:17:31 UTC (rev 9526)
+++ csw/mgar/pkg/mercurial/trunk/Makefile	2010-04-03 13:39:33 UTC (rev 9527)
@@ -22,3 +22,9 @@
 
 include gar/category.mk
 
+pre-build-modulated:
+	@echo "Changing /bin/sh to /opt/csw/bin/bash in test scripts..."
+	@(cd $(WORKSRC)/tests; \
+		ggrep -rl '#!/bin/sh' * | \
+			xargs perl -pi -e 's|#!/bin/sh|#!/opt/csw/bin/bash|' )
+	@$(MAKECOOKIE)


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