Closes:#844570.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
if (-l _) {
$old = cmdoutput qw(realpath --), $old;
}
- link $old, $new or die "link $old $new: $!";
+ my $r = link $old, $new;
+ $r = symlink $old, $new if !$r && $!==EXDEV;
+ $r or die "(sym)link $old $new: $!";
}
sub hashfile ($) {
* Give better advice if .dsc/.changes signing fails: if no changes
are needed to the package, user may indeed just debsign and dput.
Closes:#844131.
+ * If we cannot hardlink origs into our extraction area, use symlinks
+ instead. Closes:#844570.
Test suite:
* Provide and use stunt lintian and debuild, to avoid lintian