Skip to content
Snippets Groups Projects
Unverified Commit c50f4b97 authored by Niels Thykier's avatar Niels Thykier
Browse files

jh_linkjars: Replace existing files with symlinks


Signed-off-by: default avatarNiels Thykier <niels@thykier.net>
parent 026035e9
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ javatools (0.68) UNRELEASED; urgency=medium
* jh_installjavadoc: Add missing install_dir call to fix FTBFS
when the target dir does not already exist. (Closes: #909907)
* jh_linkjars: Replace target files with a symlink rather than
failing because it exists. (Closes: #909954)
-- Niels Thykier <niels@thykier.net> Fri, 28 Sep 2018 18:03:19 +0000
......
......@@ -166,6 +166,7 @@ if ($UNLINK_JARS) {
for my $jar (@JARS) {
my $basename = basename($jar);
verbose_print("Adding link for $jar to ${target_dir}");
rm_files("${target_dir}/${basename}");
make_symlink_raw_target($jar, "${target_dir}/${basename}");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment