Commit 3a7dda7f authored by Xavier Guimard's avatar Xavier Guimard

uscan: avoid false positive warning on USCAN_SYMLINK value

parent b724c19a
......@@ -25,6 +25,8 @@ devscripts (2.19.3) UNRELEASED; urgency=medium
* uscan: MR: !101
+ Fix dehs output with components with the "ignore" version.
+ Fix dehs output when "group" is used.
+ Avoid false positive warning on USCAN_SYMLINK value.
Closes: #920874; MR: !103
-- Mattia Rizzolo <mattia@debian.org> Sat, 12 Jan 2019 20:41:40 +0100
......
......@@ -181,9 +181,9 @@ use constant keys => [
'USCAN_SYMLINK',
sub {
$_[0]->symlink(
$_[1] =~ /^(no|0|rename)$/ ? $1
: $_[1] == 0 ? 'no'
: 'symlink'
$_[1] =~ /^(no|0|rename)$/ ? $1
: $_[1] =~ /^(yes|1|symlink)$/ ? 'symlink'
: 'no'
);
return 1;
},
......
Markdown is supported
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