PERFORCE change 30692 for review

Chris Vance cvance at FreeBSD.org
Wed May 7 13:21:31 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=30692

Change 30692 by cvance at cvance_demo on 2003/05/07 06:21:13

	Use a different hard-coded path for the installer (it's only a demo!) 

Affected files ...

.. //depot/projects/trustedbsd/misc/kbsdextinstall/kbsdextinstaller.cc#2 edit

Differences ...

==== //depot/projects/trustedbsd/misc/kbsdextinstall/kbsdextinstaller.cc#2 (text+ko) ====

@@ -190,7 +190,7 @@
 	    "Checking for install package");
 	memset(sysbuf, NULL, sizeof (sysbuf));
 	p = sysbuf;
-	p = strcat(p, "stat /tmp/mac_bsdextended.tgz");
+	p = strcat(p, "stat /cdrom/mac_bsdextended.tgz");
 	error = system(sysbuf);
 	if (error) {
 		fprintf(stderr, "\'%s\' returned %d\n", sysbuf, error);
@@ -204,7 +204,7 @@
 
 	  memset(sysbuf, NULL, sizeof (sysbuf));
 	  p = sysbuf;
-	  p = strcat(p, "/usr/sbin/pkg_add /tmp/mac_bsdextended.tgz");
+	  p = strcat(p, "/usr/sbin/pkg_add /cdrom/mac_bsdextended.tgz");
 	  error = system(sysbuf);
 	  if (error)
 	    fprintf(stderr, "\'%s\' returned %d\n", sysbuf, error);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list