From 019ded5487ea4be8083c834fe2019147a3b7d5d7 Mon Sep 17 00:00:00 2001 From: lxoliva Date: Sun, 20 Jul 2014 14:27:42 +0000 Subject: [PATCH] deblob-check: fix tarball verification with tar 1.27 git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@11486 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-check | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/deblob-check b/deblob-check index 9e7457d85b3..7c31cb1486e 100755 --- a/deblob-check +++ b/deblob-check @@ -1,6 +1,6 @@ #! /bin/sh -# deblob-check version 2014-06-08 +# deblob-check version 2014-07-19 # Inspired in gNewSense's find-firmware script. # Written by Alexandre Oliva @@ -7591,7 +7591,19 @@ BAD regular expression: # Extract or otherwise munge... case /$input in *.tar*) - cmd="tar -xf - --to-command='echo \";/*begin \$TAR_FILENAME*/;\"; cat; echo; echo \";/*end \$TAR_FILENAME*/;\"'" + tarwrap=`mktemp -t deblob-check-tarwrap-XXXXXX` + tempfiles="$tempfiles $tarwrap" + + cat >> $tarwrap <