Would any of you guys who reported problems with GNU tar 1.27 on IRC give this patch a try and see whether it makes things better for you?
TIA, Index: deblob-check =================================================================== --- deblob-check (revision 11473) +++ deblob-check (working copy) @@ -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 <[email protected]> @@ -7591,7 +7591,19 @@ # 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 <<EOF +#! /bin/sh +echo='$echo' && +$echo ";/*begin \$1*/;" && +cat && +echo && +$echo ";/*end \$1*/;" +EOF + chmod +x $tarwrap + cmd="tar -xf - --to-command='$tarwrap \"\$TAR_FILENAME\"'" ;; *.patch | *.patch.*z* | */patch-* | *.diff | *.diff.*z*) if $reverse_patch; then -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer _______________________________________________ linux-libre mailing list [email protected] http://www.fsfla.org/cgi-bin/mailman/listinfo/linux-libre
