lede/scripts
Petr Štetiar 331a9f6589 scripts/download.pl: fix downloads with wget
Several users of wget for downloads (curl is not available in the
system) have reported broken download functionality:

 wget --tries=5 --timeout=20 --output-document=-  https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.142.tar.xz
 http://: Invalid host name.

Thats all happening due to '' was passed as an argument, which got later
expanded to http://.

In the context of a list constructor '' is not nothing, it is an empty
string element.  So fix it by using () as it will yield "nothing" and
thus not introduce an empty string element.

Fixes: #10692
Fixes: 90c6e3aedf16 ("scripts: always check certificates")
Signed-off-by: Jo-Philipp Wich <jo@mein.io> [shellwords() -> ()]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-09-27 16:56:13 +08:00
..
config x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
flashing Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
arm-magic.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
brcmImage.pl Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
bundle-libraries.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
cfe-bin-header.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
cfe-partition-tag.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
cfe-wfi-tag.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
checkpatch.pl x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
clean-package.sh x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
cleanfile update source 2017-09-06 19:19:45 +08:00
cleanpatch update source 2017-09-06 19:19:45 +08:00
combined-ext-image.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
combined-image.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
config.guess add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
config.rpath update source 2017-09-06 19:19:45 +08:00
config.sub add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
const_structs.checkpatch add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
deptest.sh update source 2017-09-06 19:19:45 +08:00
diffconfig.sh scripts/diffconfig.sh: ensure config/conf is built 2022-02-26 16:06:10 +00:00
dl_cleanup.py scripts: check if dl directory exist in dl_cleanup script 2021-07-06 14:31:20 +08:00
dl_github_archive.py sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
download.pl scripts/download.pl: fix downloads with wget 2022-09-27 16:56:13 +08:00
dump-target-info.pl add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
env add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ext-toolchain.sh update source 2017-09-06 19:19:45 +08:00
feeds Revert "feeds: use git-src-full to allow Git versioning" 2022-02-16 13:47:04 +08:00
fixup-makefile.pl sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
functions.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
gen_image_generic.sh x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
gen-dependencies.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
gen-rddependencies.sh ramips/mt7621: Add HATLab GateBoard-One Support 2022-08-28 15:50:27 +08:00
get_source_date_epoch.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
getver.sh kernel: bump 5.4 to 5.4.125 2021-06-15 18:06:21 +08:00
ipkg-build add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ipkg-make-index.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ipkg-remove sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
json_add_image_info.py x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
json_overview_image_info.py build: preserve profiles.json between builds 2021-06-17 20:14:50 +08:00
kconfig.pl add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
linksys-image.sh build: add a script for generating Linksys EA6350v3 factory image 2019-03-07 19:45:12 +08:00
make-ipkg-dir.sh update source 2017-09-06 19:19:45 +08:00
md5sum update source 2017-09-06 19:19:45 +08:00
metadata.pm x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
mkhash.c add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
mkits-qsdk-ipq-image.sh ipq40xx: add G-DOCK 2.0 (P&W R619AC) support 2019-10-22 23:14:35 -07:00
mkits.sh scripts/mkits.sh: Fix the hash algorithm paramter 2021-07-22 18:11:36 +08:00
om-fwupgradecfg-gen.sh x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
package-metadata.pl add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
pad_image update source 2017-09-06 19:19:45 +08:00
patch-kernel.sh update source 2017-09-06 19:19:45 +08:00
patch-specs.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
portable_date.sh update source 2017-09-06 19:19:45 +08:00
qemustart x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
redboot-script.pl update source 2017-09-06 19:19:45 +08:00
relink-lib.sh update source 2017-09-06 19:19:45 +08:00
remote-gdb sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
rstrip.sh Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
sercomm-crypto.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sercomm-kernel.sh ramips: Add support for Beeline SmartBox TURBO+ (#8161) 2021-11-03 12:16:32 +08:00
sercomm-partition-tag.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sercomm-payload.py Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sign_images.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
size_compare.sh add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
slugimage.pl sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
spelling.txt add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
srecimage.pl update source 2017-09-06 19:19:45 +08:00
strip-kmod.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
symlink-tree.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
sysupgrade-tar.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
target-metadata.pl base-files: add eMMC sysupgrade support (#8400) 2021-12-08 16:09:15 +08:00
time.pl sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
timestamp.pl update source 2017-09-06 19:19:45 +08:00
ubinize-image.sh ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
xxdi.pl scripts: xxdi.pl: add xxd -i compat mode 2022-09-13 00:07:13 +08:00