From ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 28 Oct 2020 20:59:53 +0000 Subject: Cygwin: Use grep in text mode to look for version strings Invoke grep in text mode when looking for version strings inside the cygwin DLL, so it outputs something more informative than: Binary file ../cygwin/cygwin0.dll matches --- winsup/testsuite/config/default.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/testsuite/config/default.exp b/winsup/testsuite/config/default.exp index 3936979..8033ea6 100644 --- a/winsup/testsuite/config/default.exp +++ b/winsup/testsuite/config/default.exp @@ -1,7 +1,7 @@ proc winsup_version {} { global env global rootme - clone_output "\n[exec grep ^%%% $rootme/../cygwin/cygwin0.dll]\n" + clone_output "\n[exec grep -a ^%%% $rootme/../cygwin/cygwin0.dll]\n" if { [info exists env(CYGWIN)] } { clone_output "CYGWIN=$env(CYGWIN)\n" } else { -- cgit v1.1