Changeset 1113 in ProjectBuilder for devel/pb/lib
- Timestamp:
- Nov 23, 2010, 3:45:03 PM (14 years ago)
- Location:
- devel/pb/lib/ProjectBuilder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/lib/ProjectBuilder/CMS.pm
r1107 r1113 669 669 my ($scheme, $account, $host, $port, $path) = pb_get_uri($uri); 670 670 671 if ((! -d "$ENV{$envar}") || (defined $pbinit)) { 671 if (($scheme !~ /^cvs/) || ($scheme !~ /^svn/) || ($scheme =~ /^svk/) || ($scheme !~ /^hg/) || ($scheme !~ /^git/) ) { 672 # Do not compare if it's not a real cms 673 return; 674 } elsif ((! -d "$ENV{$envar}") || (defined $pbinit)) { 672 675 if (defined $pbinit) { 673 676 pb_mkdir_p("$ENV{$envar}"); … … 681 684 pb_cms_checkout($scheme,$uri,$ENV{$envar}); 682 685 } 683 } elsif (($scheme !~ /^cvs/) || ($scheme !~ /^svn/) || ($scheme =~ /^svk/) || ($scheme !~ /^hg/) || ($scheme !~ /^git/) ) {684 # Do not compare if it's not a real cms685 return;686 686 } else { 687 687 pb_log(1,"$uri found locally, checking content\n"); -
devel/pb/lib/ProjectBuilder/Env.pm
r1097 r1113 286 286 return if ($action =~ /^clean$/); 287 287 288 if (($action =~ /^cms2/) || ($action =~ /^sbx2/) || ($action =~ /^newver$/) || ($action =~ /pbinit/) || ($action =~ /^newproj$/) || ($action =~ /^announce/) || ($action =~ /^web/)) {288 if (($action =~ /^cms2/) || ($action =~ /^sbx2/) || ($action =~ /^newver$/) || ($action =~ /pbinit/) || ($action =~ /^newproj$/) || ($action =~ /^announce/)) { 289 289 290 290 #
Note:
See TracChangeset
for help on using the changeset viewer.