From b8d88174520918fe9dc563b5bc0990fe9d3571fd Mon Sep 17 00:00:00 2001 From: Chad Elliott Date: Tue, 25 Apr 2023 07:54:56 -0500 Subject: Check that the path is relative before adding the current working directory. --- modules/WorkspaceCreator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm index fda3e408..1bd3f7e6 100644 --- a/modules/WorkspaceCreator.pm +++ b/modules/WorkspaceCreator.pm @@ -1802,7 +1802,7 @@ sub generate_project_files_fork { } $self->{'cacheok'} = $cacheok; - my $full = "$cwd/$dir"; + my $full = $self->path_is_relative($dir) ? "$cwd/$dir" : $dir; if ($self->cd($full)) { if ($self->{'cacheok'} && defined $allprojects{$prkey}) { -- cgit v1.2.1