Fix for newer versions of lzma

Newer versions of lzma seem to require the files have the correct
extension, this pipes them in via stdin instead.

Signed-off-by: Gan Shun Lim <ganshun@gmail.com>
This commit is contained in:
Gan Shun Lim 2018-03-23 14:59:25 -07:00 committed by Chris K
parent c20d46ccb4
commit 5617d646d3

View File

@ -275,7 +275,7 @@ sub process_section
print $fh $lz_data;
close $fh;
my $data = `lzma --decompress --stdout $filename`;
my $data = `lzma --decompress --stdout - < $filename`;
printf "%s.ffs: length 0x%x (0x%x compressed)\n",
$base,
length($data),