Changeset 2348 in ProjectBuilder
- Timestamp:
- Jan 10, 2019, 4:45:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/VCS.pm
r2312 r2348 417 417 # If not, the pbconf dir may be in the pbprojdir so sharing the .git dir 418 418 my $cwd = abs_path(); 419 chdir($ dir) || return("");;419 chdir($ENV{'PBPROJDIR'}) || return("");; 420 420 open(GIT,"LANGUAGE=C $vcscmd remote -v 2> /dev/null |") || return(""); 421 421 chdir($cwd) || return(""); … … 426 426 } 427 427 close(GIT); 428 warn "Unable to find remote origin for $dir";428 warn "Unable to find a remote git origin under $dir nor $ENV{'PBPROJDIR'}"; 429 429 return ""; 430 430 }
Note:
See TracChangeset
for help on using the changeset viewer.