[svn] GnuPG - r4192 - trunk/m4
svn author dshaw
cvs at cvs.gnupg.org
Wed Jul 12 16:41:23 CEST 2006
Author: dshaw
Date: 2006-07-12 16:41:08 +0200 (Wed, 12 Jul 2006)
New Revision: 4192
Modified:
trunk/m4/ChangeLog
trunk/m4/tar-ustar.m4
Log:
* tar-ustar.m4: Use dd instead of strings as it's more likely to be
around. Suggested by Nelson H. F. Beebe.
Modified: trunk/m4/ChangeLog
===================================================================
--- trunk/m4/ChangeLog 2006-07-11 16:45:17 UTC (rev 4191)
+++ trunk/m4/ChangeLog 2006-07-12 14:41:08 UTC (rev 4192)
@@ -1,3 +1,8 @@
+2006-07-12 David Shaw <dshaw at 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 at jabberwocky.com>
* tar-ustar.m4: Not all greps know the -q (quiet) flag, so
Modified: trunk/m4/tar-ustar.m4
===================================================================
--- trunk/m4/tar-ustar.m4 2006-07-11 16:45:17 UTC (rev 4191)
+++ trunk/m4/tar-ustar.m4 2006-07-12 14:41:08 UTC (rev 4192)
@@ -27,7 +27,7 @@
if test x$_mytar != x ; then
AC_MSG_CHECKING([whether $_mytar speaks USTAR])
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=$?
rm conftest.txt
More information about the Gnupg-commits
mailing list