Changeset 641 in ProjectBuilder for devel/pb/bin
- Timestamp:
- Dec 11, 2008, 7:21:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r639 r641 1421 1421 $vmcmd = "$qemucmd32"; 1422 1422 } 1423 1424 1425 1426 1427 1423 $vmm = "$vmpath->{$ENV{'PBPROJ'}}/$v.qemu"; 1424 if ($create != 0) { 1425 $ENV{'PBVMOPT'} .= " -cdrom $iso -boot d"; 1426 } 1427 $cmd = "$vmcmd $ENV{'PBVMOPT'} -redir tcp:$nport:10.0.2.15:22 $vmm" 1428 1428 } elsif ($vmtype eq "xen") { 1429 1429 } elsif ($vmtype eq "vmware") { … … 1432 1432 } 1433 1433 # Restore the ENV VAR Value 1434 $ENV{'PB MOPT'} = $ENV{'PBOLDVMOPT'};1434 $ENV{'PBVMOPT'} = $ENV{'PBOLDVMOPT'}; 1435 1435 1436 1436 my ($tmpcmd,$void) = split(/ +/,$cmd); … … 1811 1811 EOF 1812 1812 if (defined $ntpline) { 1813 print SCRIPT "if ( -x /usr/sbin/ntpdate) {\n";1813 print SCRIPT "if ( -x \"/usr/sbin/ntpdate\" ) {\n"; 1814 1814 print SCRIPT " system(\"$ntpline\")\n"; 1815 1815 print SCRIPT "} else {\n";
Note:
See TracChangeset
for help on using the changeset viewer.