4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 04:20:28 +08:00

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 committed by Ken Brown
parent a005d8e7ff
commit 953afd22ed

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 {