This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated: setup (2.880)

On 19/06/2017 16:29, Nellis, Kenneth wrote:
# From
wget -O $name --quiet$name || exit
# ACL issues require some fixing up after wget
chmod +x $name

...but Windows complained about the file format when I tried to launch
it. Then "file" told me...

$ file *.exe
setup-x86_64.exe: gzip compressed data, from Unix
$ I added suffix .gz and then used (actually) WinZip to unzip
it, and it created a working setup.exe.

So, is this new behavior? Is it to be expected going forward?

This behaviour is not expected or wanted.  I can't reproduce it, either.

$ wget
--2017-06-19 17:31:56--
Connecting to||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 906771 (886K) [application/octet-stream]
Saving to: ‘setup-x86_64.exe’

setup-x86_64.exe    100%[===================>] 885.52K   550KB/s    in 1.6s

2017-06-19 17:31:58 (550 KB/s) - ‘setup-x86_64.exe’ saved [906771/906771]

$ file setup-x86_64.exe
setup-x86_64.exe: PE32+ executable (GUI) x86-64, for MS Windows

$ xxd setup-x86_64.exe | head -1
00000000: 4d5a 9000 0300 0000 0400 0000 ffff 0000  MZ..............

Do you have something in your ~/.wgetrc to add an "accept-encoding: gzip" header or something?

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]