aboutsummaryrefslogtreecommitdiff
path: root/libX11/nls/compose-check.pl
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-22 06:05:22 +0000
committermarha <marha@users.sourceforge.net>2010-09-22 06:05:22 +0000
commit6a14682c40a85bbfdb5023a3330e95a3a3c0ad03 (patch)
tree1b6f57b460205ddbe283a3dce7452513e0397105 /libX11/nls/compose-check.pl
parenteeab52467b06a339cb5baee3071ef83bf3a48edb (diff)
downloadvcxsrv-6a14682c40a85bbfdb5023a3330e95a3a3c0ad03.tar.gz
vcxsrv-6a14682c40a85bbfdb5023a3330e95a3a3c0ad03.tar.bz2
vcxsrv-6a14682c40a85bbfdb5023a3330e95a3a3c0ad03.zip
libX11 22/9/2010
Diffstat (limited to 'libX11/nls/compose-check.pl')
-rw-r--r--libX11/nls/compose-check.pl7
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);
}