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

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Sat Apr 18 18:52:23 CEST 2009


Revision: 4401
          http://gar.svn.sourceforge.net/gar/?rev=4401&view=rev
Author:   idogan23
Date:     2009-04-18 16:52:23 +0000 (Sat, 18 Apr 2009)

Log Message:
-----------
bind2nsd: change shebang to /opt/csw/bin/python

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

Modified: csw/mgar/pkg/bind2nsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bind2nsd/trunk/Makefile	2009-04-18 16:24:52 UTC (rev 4400)
+++ csw/mgar/pkg/bind2nsd/trunk/Makefile	2009-04-18 16:52:23 UTC (rev 4401)
@@ -40,4 +40,10 @@
 INSTALL_ARGS += --root=$(DESTDIR)
 INSTALL_ARGS += --prefix=$(prefix)
 
+post-configure-modulated:
+	@echo " ==> Fixing Shebang"
+	@cd $(WORKSRC)
+	@perl -pi -e 's/\/usr\/bin\/env\ python/\/opt\/csw\/bin\/python/g' `find . -name '*.py'`
+	@$(MAKECOOKIE)
+
 include gar/category.mk


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