From 9ca9af1a29b0a47c6b5418c5978617441b389303 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 21 Jul 2011 20:29:52 +0200 Subject: [PATCH] - allow extraction of empty files --- extractbuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extractbuild b/extractbuild index 5b5da86b4..f46ffc14a 100755 --- a/extractbuild +++ b/extractbuild @@ -50,8 +50,8 @@ while() { chomp; last unless length $_; my ($file, $filesize, $blksize, @blocks) = split(/ /); - if($#blocks == -1) { - die "invalid input\n"; + if($#blocks == -1 && $filesize) { + die "invalid input '$_'\n"; } $filesize = int($filesize); $blksize = int($blksize);