diff options
author | Guillem Jover <guillem@debian.org> | 2014-04-02 03:57:17 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-04-21 07:07:55 +0200 |
commit | f18b4447aed248f2154e68eb4810c20a2021d6ee (patch) | |
tree | 55495c89ac9652591e3fe22705adb48f262167d7 /scripts/dpkg-shlibdeps.pl | |
parent | 82e5f76256237dc9407c8f532befe94307d6d724 (diff) | |
download | dpkg-f18b4447aed248f2154e68eb4810c20a2021d6ee.tar.gz |
scripts: Use // operator instead of defined and ternary operator
Diffstat (limited to 'scripts/dpkg-shlibdeps.pl')
-rwxr-xr-x | scripts/dpkg-shlibdeps.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-shlibdeps.pl b/scripts/dpkg-shlibdeps.pl index 8443680c6..b7b2e8237 100755 --- a/scripts/dpkg-shlibdeps.pl +++ b/scripts/dpkg-shlibdeps.pl @@ -701,7 +701,7 @@ sub extract_from_shlibs { $shlibfile, $., $_); next; } - my $depread = defined($4) ? $4 : ''; + my $depread = $4 // ''; if (($libname eq $2) && ($libversion eq $3)) { # Define dep and end here if the package type explicitly # matches. Otherwise if the packagetype is not specified, use |