public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "MZxxxxx": not found (solved)
@ 2021-11-11 17:14 Andrey Repin
  0 siblings, 0 replies; only message in thread
From: Andrey Repin @ 2021-11-11 17:14 UTC (permalink / raw)
  To: All

Greetings, All!

$ /usr/bin/sh -xi
+ MZ����@��� �!�L�!This program cannot be run in DOS mode.
/usr/bin/sh: 1: MZ����@���: not found
+ �
/usr/bin/sh: 2: �: not found
/usr/bin/sh: 2: Syntax error: word unexpected (expecting ")")

/bin/sh is a (native)symlink to /bin/dash. Running /bin/dash directly produced
the same issue. (And /usr/bin is a mounted /bin, yes.)

Turned out, I've had $ENV set for years now in my wrapper script, but it only
became a problem just now.

I've now renamed the variable to resolve the issue.


-- 
With best regards,
Andrey Repin
Thursday, November 11, 2021 19:33:54

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-11 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 17:14 "MZxxxxx": not found (solved) Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).