backdrop-contrib / backdrop-drush-extension

A set of commands and boot class for Drush and Backdrop CMS.
GNU General Public License v2.0
14 stars 18 forks source link

drush dl uses wget and --0 option; but that is not working on all OSs. #111

Closed serundeputy closed 7 years ago

serundeputy commented 7 years ago

On lando:

    Select one [0]: 0
wget: unrecognized option '--O'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
unzip:  cannot find or open /app/www/modules/contrib/on_the_web.zip, /app/www/modules/contrib/on_the_web.zip.zip or /app/www/modules/contrib/on_the_web.zip.ZIP.
rm: cannot remove '/app/www/modules/contrib/on_the_web.zip': No such file or directory

here is the wget version inside the lando container:

www-data@0d8e4a38f30e:/app$ wget --version
GNU Wget 1.16 built on linux-gnu.

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +psl +ssl/gnutls

Wgetrc:
    /etc/wgetrc (system)
Locale:
    /usr/share/locale
Compile:
    gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib
    -D_FORTIFY_SOURCE=2 -I/usr/include -g -O2 -fstack-protector-strong
    -Wformat -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64
    -g -Wall
Link:
    gcc -g -O2 -fstack-protector-strong -Wformat
    -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall
    -Wl,-z,relro -L/usr/lib -lnettle -lgnutls -lz -lpsl -lidn -luuid
    ftp-opie.o gnutls.o http-ntlm.o ../lib/libgnu.a

Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.

lando appserver OS version:

www-data@0d8e4a38f30e:/app$ cat /etc/debian_version
8.8
serundeputy commented 7 years ago

this is because it was supposed to be -O not --O fixed in https://github.com/backdrop-contrib/drush/pull/118