public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: All <cygwin@cygwin.com>
Subject: "MZxxxxx": not found (solved)
Date: Thu, 11 Nov 2021 20:14:49 +0300	[thread overview]
Message-ID: <1731612492.20211111201449@yandex.ru> (raw)

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...

                 reply	other threads:[~2021-11-11 17:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1731612492.20211111201449@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).