4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-20 21:39:21 +08:00
Jon Turney ff315bd18f
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
2020-11-18 16:26:23 +00:00

14 lines
294 B
Plaintext

proc winsup_version {} {
global env
global rootme
clone_output "\n[exec grep -a ^%%% $rootme/../cygwin/cygwin0.dll]\n"
if { [info exists env(CYGWIN)] } {
clone_output "CYGWIN=$env(CYGWIN)\n"
} else {
clone_output "CYGWIN=\n"
}
}
proc winsup_exit {} {
}