The config machinery now defends us from newlines.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
$cleanmode //= 'dpkg-source';
badcfg f_ "unknown clean-mode \`%s'", $cleanmode unless
$cleanmode //= 'dpkg-source';
badcfg f_ "unknown clean-mode \`%s'", $cleanmode unless
- $cleanmode =~ m/^($cleanmode_re)$(?!\n)/s;
+ $cleanmode =~ m/$cleanmode_re/;
}
$buildproductsdir //= access_cfg('build-products-dir', 'RETURN-UNDEF');
}
$buildproductsdir //= access_cfg('build-products-dir', 'RETURN-UNDEF');