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:
parent
57635f8581
commit
ff315bd18f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue