PERFORCE change 30692 for review
    Chris Vance 
    cvance at FreeBSD.org
       
    Wed May  7 06:21:33 PDT 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);
    
    
More information about the p4-projects
mailing list