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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Apr 20 22:29:43 CEST 2011


Revision: 14363
          http://gar.svn.sourceforge.net/gar/?rev=14363&view=rev
Author:   bdwalton
Date:     2011-04-20 20:29:43 +0000 (Wed, 20 Apr 2011)

Log Message:
-----------
bacula/trunk: insert AUTOENABLE no in the director init script differently so we do not clobber the hashbang

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

Modified: csw/mgar/pkg/bacula/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bacula/trunk/Makefile	2011-04-20 20:15:16 UTC (rev 14362)
+++ csw/mgar/pkg/bacula/trunk/Makefile	2011-04-20 20:29:43 UTC (rev 14363)
@@ -232,7 +232,7 @@
 post-install-modulated:
 	@(cd $(WORKSRC)/platforms/solaris; \
 		ginstall -d -m 0755 $(INITD); \
-		(echo '#AUTOENABLE no'; cat bacula-dir) > bacula-dir.csw; \
+		(ggrep '^#' bacula-dir; echo '#AUTOENABLE no'; ggrep -v '^#' bacula-dir) > bacula-dir.csw; \
 		ginstall -m 0755 bacula-dir.csw $(INITD)/cswbacula-dir; \
 		for s in fd sd; do \
 			ginstall -m 0755 bacula-$$s $(INITD)/cswbacula-$$s; \


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