summaryrefslogtreecommitdiff
path: root/dh_installxfonts
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-04 13:48:52 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-04 13:48:52 -0400
commit14698262f45715ebcc232b83b7a346d724fda355 (patch)
tree3638dc17abe3a4f4b61895bdca216ed8a7c8f131 /dh_installxfonts
parent233b7c13ff14d450e7503ba4a5bb0688ec22d71f (diff)
dh_installxfonts: Fix precidence problem that exposes a new warning message in perl 5.10.
Diffstat (limited to 'dh_installxfonts')
-rwxr-xr-xdh_installxfonts2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installxfonts b/dh_installxfonts
index b7921a2..276f903 100755
--- a/dh_installxfonts
+++ b/dh_installxfonts
@@ -52,7 +52,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Find all font directories in the package build directory.
my @fontdirs;
foreach my $parentdir ("$tmp/usr/X11R6/lib/X11/fonts/", "$tmp/usr/share/fonts/X11/") {
- opendir DIR, $parentdir || next;
+ opendir(DIR, $parentdir) || next;
@fontdirs = grep { -d "$parentdir/$_" && !/^\./ } (readdir DIR);
closedir DIR;
}