Changeset 2305 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Env.pm
- Timestamp:
- Sep 6, 2017, 7:36:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Env.pm
r2292 r2305 260 260 261 261 my $pbconfpath = "$ENV{'PBDEFDIR'}/$ENV{'PBPROJ'}"; 262 263 # Put under CMS the PBPROJ dir264 if ($action =~ /^newproj$/) {265 if (! -d "$pbconfpath") {266 # TODO: There is also the need to do267 # svn import svn://repo "$pbconfpath268 # in case it doesn't exist there269 pb_mkdir_p("$pbconfpath");270 }271 pb_vcs_add($pbconf{$ENV{'PBPROJ'}},"$pbconfpath");272 }273 262 274 263 # … … 1311 1300 } 1312 1301 pb_vcs_add($pbconf{$ENV{'PBPROJ'}},$ENV{'PBCONFDIR'}); 1313 my $msg = "updated to ".basename("$pbconfpath"); 1314 $msg = "Project $ENV{'PBPROJ'} creation" if (defined $pbinit); 1315 pb_vcs_checkin($pbconf{$ENV{'PBPROJ'}},"$pbconfpath",$msg); 1302 my $msg = "Project $ENV{'PBPROJ'} creation"; 1303 pb_vcs_checkin($pbconf{$ENV{'PBPROJ'}},"$ENV{'PBCONFDIR'}",$msg); 1316 1304 } else { 1317 1305 pb_log(0,"ERROR: no pbroot defined, used $ENV{'PBROOTDIR'}, without finding $ENV{'PBPROJ'}.yml in it\n");
Note:
See TracChangeset
for help on using the changeset viewer.