This patch should fix the problem:

36c36
< while ($ARGV[1] =~ m/^-.*/) {
---
> while ($ARGV[0] =~ m/^-.*/) {
52c52
< $pattern = $arch ? "-name '*_all.$ext' -o -name '*_$arch.$ext'" : "-name 
'*.$ext'";
---
> $pattern = $arch ? "'(' -name '*_all.$ext' -o -name '*_$arch.$ext' ')'" : 
> "-name '*.$ext'";

The latter fixes another problem that the *_all... files were not
correctly scanned because the "name or name" expression was not grouped.

 Christoph



Reply via email to