Make fatpack output more deterministic
This reduces the diff between compiled modules in subsequent commits.
This commit is contained in:
parent
e8c82f9e57
commit
6e34f15045
1 changed files with 2 additions and 2 deletions
|
@ -106,10 +106,10 @@ do
|
||||||
local _ENV = _ENV
|
local _ENV = _ENV
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
while(my ($module, $content) = each %{$modules}) {
|
foreach my $module (sort keys %{$modules}) {
|
||||||
next if ($module eq $mainmodule);
|
next if ($module eq $mainmodule);
|
||||||
|
|
||||||
my $effcontent = $content;
|
my $effcontent = %{$modules}{$module};
|
||||||
# Strip the shebang
|
# Strip the shebang
|
||||||
$effcontent =~ s/^#!.*\n//g;
|
$effcontent =~ s/^#!.*\n//g;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue