SF.net SVN: morphix: [2563] trunk/mmaker/src/isomaker.c

[email protected] Tue, 02 Oct 2007 14:44:13 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2563
          http://morphix.svn.sourceforge.net/morphix/?rev=2563&view=rev
Author:   bmsleight
Date:     2007-10-02 14:44:12 -0700 (Tue, 02 Oct 2007)

Log Message:
-----------
I am not a number ... (Untested)

Modified Paths:
--------------
    trunk/mmaker/src/isomaker.c

Modified: trunk/mmaker/src/isomaker.c
===================================================================
--- trunk/mmaker/src/isomaker.c	2007-10-02 21:26:01 UTC (rev 2562)
+++ trunk/mmaker/src/isomaker.c	2007-10-02 21:44:12 UTC (rev 2563)
@@ -86,12 +86,12 @@
 	while (ptr != NULL) {
 	        gchar *xmltemplate = (gchar *)ptr->data;
 		count++;
-		cmdline = g_strdup_printf("%s -c %s %s %s/mainmod/mainmod%d.mod",
+		cmdline = g_strdup_printf("%s -c %s %s %s/mainmod/%s.mod",
 					  MMAKER_PATH,
 					  debtarball,
 					  xmltemplate,
 					  workdir,
-					  count);
+					  xmltemplate);
 		if (!executeCommandMain(cmdline)) {
 			printf("Warning: mmaker returned an error when building mainmodule, continuing...\n");
 		}
@@ -114,11 +114,11 @@
 	while (ptr != NULL) {
 	        gchar *xmltemplate = (gchar *)ptr->data;
 		count++;
-		cmdline = g_strdup_printf("%s %s %s/minimod/minimod%d.mod",
+		cmdline = g_strdup_printf("%s %s %s/minimod/%s.mod",
 					  MORPHMINI_PATH,
 					  xmltemplate,
 					  workdir,
-					  count);
+					  xmltemplate);
 		if (!executeCommandMain(cmdline)) {
 			printf("Warning: morphmini returned an error when building minimodule, continuing...\n");
 		}


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/