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
This commit is contained in:
Jon Turney 2020-10-28 20:59:53 +00:00
parent 57635f8581
commit ff315bd18f
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 1 additions and 1 deletions

View File

@ -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 {