add sort to jsgettext.pl
the output from find may not be stable (depending on the filesystem), and is surely not the same on two different systems, so for consistency in the po files, we sort the output from find with sort Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
833fc26e5d
commit
477c5e718e
@ -12,7 +12,7 @@ die "no such directory\n" if ! -d $dir;
|
||||
|
||||
my $sources = [];
|
||||
|
||||
my $findcmd = ['find', $dir, '-name', '*.js'];
|
||||
my $findcmd = [['find', $dir, '-name', '*.js'],['sort']];
|
||||
PVE::Tools::run_command($findcmd, outfunc => sub {
|
||||
my $line = shift;
|
||||
next if $line =~ m|/pvemanagerlib.js$|;
|
||||
|
Loading…
x
Reference in New Issue
Block a user