diff options
Diffstat (limited to 'libX11/nls/compose-check.pl')
-rw-r--r-- | libX11/nls/compose-check.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libX11/nls/compose-check.pl b/libX11/nls/compose-check.pl index 5486bcbcb..a12db0c82 100644 --- a/libX11/nls/compose-check.pl +++ b/libX11/nls/compose-check.pl @@ -34,10 +34,15 @@ use warnings; my $error_count = 0;
if (scalar(@ARGV) == 0) {
- push @ARGV, "Compose";
+ if ( -f 'Compose' ) {
+ push @ARGV, 'Compose';
+ } else {
+ push @ARGV, glob '*/Compose';
+ }
}
foreach my $cf (@ARGV) {
+ # print "Checking $cf\n";
$error_count += check_compose_file($cf);
}
|