SF.net SVN: morphix: [2340] trunk/mmaker/libmorphix/makemodule.c

[email protected] Thu, 06 Jul 2006 15:30:32 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2340
Author:   alextreme
Date:     2006-07-06 15:30:28 -0700 (Thu, 06 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2340&view=rev

Log Message:
-----------
  * adding 5-second sleep to base/main module builds

Modified Paths:
--------------
    trunk/mmaker/libmorphix/makemodule.c
Modified: trunk/mmaker/libmorphix/makemodule.c
===================================================================
--- trunk/mmaker/libmorphix/makemodule.c	2006-07-04 20:54:15 UTC (rev 2339)
+++ trunk/mmaker/libmorphix/makemodule.c	2006-07-06 22:30:28 UTC (rev 2340)
@@ -393,6 +393,12 @@
 		cmdline = g_strdup_printf("mv %s/usr/sbin/policy-rc.d.REAL %s/usr/sbin/policy-rc.d", module->dirname, module->dirname);
 		ExecuteCommand(cmdline);
 	}
+
+       	g_free(cmdline);
+
+       	fprintf(stderr,"Info: Sleeping for 5 seconds to let all background processes end before compressing...\n");
+	cmdline = g_strdup_printf("sleep 5s");
+	ExecuteCommand(cmdline);
 	g_free(cmdline);
 
 	return TRUE;


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


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642