Skip to content
Snippets Groups Projects
Commit 25b8f5e4 authored by Andy Yates's avatar Andy Yates
Browse files

quick commit. this has broken the script but so we can test if it works

parent a8c57476
No related branches found
No related tags found
No related merge requests found
......@@ -181,8 +181,12 @@ sub _process_datafile {
die "Cannot unlink $target as it is a file and not a symbolic link. Datafile ID was $id";
}
}
$self->v("\tLinking %s -> %s", $filepath, $target);
symlink($filepath, $target) or die "Cannot symbolically link $filepath to $target: $!";
#Generate the relative link
my $relative_path = File::Spec->abs2rel($file_dir, $target_dir);
$self->v("\tLinking %s -> %s", $relative_path, $target);
#symlink($filepath, $target) or die "Cannot symbolically link $filepath to $target: $!";
}
}
return;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment