Changeset 273 in ProjectBuilder for devel/pb/bin/pb
- Timestamp:
- Nov 8, 2007, 11:57:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r272 r273 101 101 102 102 my ($pbrc, $filteredfiles, $defpkgdir, $extpkgdir); 103 my $pbinit = undef; 104 $pbinit = 1 if ($action =~ /^newproj$/); 103 105 104 106 # Handles project name if any … … 106 108 if (defined $opts{'p'}) { 107 109 ($ENV{'PBPROJ'},$debug,$LOG, $pbrc, $filteredfiles, $defpkgdir, $extpkgdir) 108 = pb_env_init($opts{'p'} );110 = pb_env_init($opts{'p'},$pbinit); 109 111 } else { 110 112 ($ENV{'PBPROJ'},$debug,$LOG, $pbrc, $filteredfiles, $defpkgdir, $extpkgdir) 111 = pb_env_init( );113 = pb_env_init(undef,$pbinit); 112 114 } 113 115 … … 147 149 } elsif ($action =~ /^newvm$/) { 148 150 pb_launchvm($ENV{'PBVM'},1); 151 } elsif ($action =~ /^newproj$/) { 152 # Nothing to do - already done in pb_env_init 149 153 } elsif ($action =~ /^clean$/) { 150 154 } else { … … 910 914 print "\t from the current one \n"; 911 915 print "\n"; 912 } 916 print "\tnewproj: Create a new project and a template set of \n"; 917 print "\t configuration files under pbconf \n"; 918 print "\n"; 919 }
Note:
See TracChangeset
for help on using the changeset viewer.