Skip to content

Commit b8d8817

Browse files
committed
Check that the path is relative before adding the current working directory.
1 parent a5c42a3 commit b8d8817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/WorkspaceCreator.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ sub generate_project_files_fork {
18021802
}
18031803

18041804
$self->{'cacheok'} = $cacheok;
1805-
my $full = "$cwd/$dir";
1805+
my $full = $self->path_is_relative($dir) ? "$cwd/$dir" : $dir;
18061806
if ($self->cd($full)) {
18071807
if ($self->{'cacheok'} && defined $allprojects{$prkey}) {
18081808

0 commit comments

Comments
 (0)