configure's tar ustar test can fail on Solaris

David Shaw dshaw at jabberwocky.com
Tue Jul 11 17:53:11 CEST 2006


On Tue, Jul 11, 2006 at 05:35:26PM +0200, Werner Koch wrote:
> On Sun,  9 Jul 2006 00:12, Mark Davies said:
> 
> > -        $_mytar -cf - conftest.txt | grep -q ustar
> > +        $_mytar -cf - conftest.txt | strings | grep -q ustar
> 
> I am not sure whether strings is available on all platforms. What
> about
> 
>   $_mytar -cf - conftest.txt | ( strings || cat ) | grep -q ustar

Does cat actually solve the problem here?  If the problem is that Sun
grep doesn't grep within binary data, then cat won't un-binary the
tarball.

David



More information about the Gnupg-devel mailing list