sort filenames on perl level during updatemakes.sh

This commit is contained in:
Karel Miko 2017-03-01 22:07:28 +01:00
parent 1e977e662f
commit 61ae75a823

View File

@ -11,7 +11,7 @@ my @a = split ' ', $ARGV[1];
my $b = $ARGV[0] . '='; my $b = $ARGV[0] . '=';
my $len = length $b; my $len = length $b;
print $b; print $b;
foreach my $obj (@a) { foreach my $obj (sort @a) {
$len = $len + length $obj; $len = $len + length $obj;
$obj =~ s/\*/\$/; $obj =~ s/\*/\$/;
if ($len > 100) { if ($len > 100) {