Skip to content

Commit 6d9bd0c

Browse files
Update src/fpm.f90
Co-authored-by: Laurence Kedward <[email protected]>
1 parent 28a44c4 commit 6d9bd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ subroutine delete_skip(unix)
514514
do i = 1, size(files)
515515
if (is_dir(files(i)%s)) then
516516
dir = files(i)%s
517-
if (dir /= 'build/dependencies') call os_delete_dir(unix, dir)
517+
if (.not.str_ends_with(dir,'dependencies')) call os_delete_dir(unix, dir)
518518
end if
519519
end do
520520
end subroutine delete_skip

0 commit comments

Comments
 (0)