aboutsummaryrefslogtreecommitdiff
path: root/libX11/nls/compose-check.pl
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-22 08:56:07 +0000
committermarha <marha@users.sourceforge.net>2010-09-22 08:56:07 +0000
commit4e512860d6f0a7644ae3872d91edafa9040f608a (patch)
treeceadfe99e76c6f2f155d8ad09c8b98f57ca6400c /libX11/nls/compose-check.pl
parentf5d19a3432c13e7b3262b3771468cc42e25d2e8c (diff)
parent6a14682c40a85bbfdb5023a3330e95a3a3c0ad03 (diff)
downloadvcxsrv-4e512860d6f0a7644ae3872d91edafa9040f608a.tar.gz
vcxsrv-4e512860d6f0a7644ae3872d91edafa9040f608a.tar.bz2
vcxsrv-4e512860d6f0a7644ae3872d91edafa9040f608a.zip
svn merge ^/branches/released .
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);
}