mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Cmake export tests: Use absolute paths for subfiles inside the source dir
The testfile is inside the build dir, so no relative path to the source dir should be alloved.
This commit is contained in:
parent
780fd81a67
commit
50779dda7a
@ -258,8 +258,10 @@ sub interpretedCopy($$$$)
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($foundrelative) {
|
||||
if ($foundrelative && $rStatus->{"filetype"} ne "prefix_for_list") {
|
||||
# The result can be relative too
|
||||
# but, since prefix_for_list does no copy, we have to use absolute paths
|
||||
# to address files inside the source dir
|
||||
my @rel_list = ();
|
||||
for my $fr (@{$filelist}) {
|
||||
push(@rel_list, File::Spec->abs2rel($fr, $destdir));
|
||||
|
Loading…
x
Reference in New Issue
Block a user