mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* tar-ustar.m4: Use dd instead of strings as it's more likely to be
around. Suggested by Nelson H. F. Beebe.
This commit is contained in:
parent
ce5ed75822
commit
0b5bc307d7
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-12 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* tar-ustar.m4: Use dd instead of strings as it's more likely to
|
||||||
|
be around. Suggested by Nelson H. F. Beebe.
|
||||||
|
|
||||||
2006-07-11 David Shaw <dshaw@jabberwocky.com>
|
2006-07-11 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* tar-ustar.m4: Not all greps know the -q (quiet) flag, so
|
* tar-ustar.m4: Not all greps know the -q (quiet) flag, so
|
||||||
|
@ -27,7 +27,7 @@ AC_DEFUN([GNUPG_CHECK_USTAR],
|
|||||||
if test x$_mytar != x ; then
|
if test x$_mytar != x ; then
|
||||||
AC_MSG_CHECKING([whether $_mytar speaks USTAR])
|
AC_MSG_CHECKING([whether $_mytar speaks USTAR])
|
||||||
echo hithere > conftest.txt
|
echo hithere > conftest.txt
|
||||||
$_mytar -cf - conftest.txt | strings | grep ustar > /dev/null
|
$_mytar -cf - conftest.txt | (dd skip=257 bs=1 count=5 2>/dev/null || cat) | grep ustar > /dev/null
|
||||||
_tar_bad=$?
|
_tar_bad=$?
|
||||||
rm conftest.txt
|
rm conftest.txt
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user