diff options
author | Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> | 2017-08-26 15:14:20 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-08-30 18:12:36 +0200 |
commit | 0a761fe8ef346c6f0a78097938b083e2d078b0e2 (patch) | |
tree | 82b780bdfe5f8e5be0f1ed46418f693ec7b22c9a /LICENSE | |
parent | af0a93391b4b37ec3b7342f7a5655509fb832ae3 (diff) | |
download | upstream-0a761fe8ef346c6f0a78097938b083e2d078b0e2.tar.gz upstream-0a761fe8ef346c6f0a78097938b083e2d078b0e2.tar.bz2 upstream-0a761fe8ef346c6f0a78097938b083e2d078b0e2.zip |
scripts/dowload.pl: use glob to expand target dir
If CONFIG_DOWNLOAD_FOLDER is set to for example "~/dl", the download
script fails to create the .hash and .dl files with the following
errors:
Cannot create file ~/dl/dropbear-2017.75.tar.bz2.dl: No such file or directory
sh: 1: cannot create ~/dl/dropbear-2017.75.tar.bz2.hash: Directory nonexistent
If the tarball already exists in the ~/dl dir, it's properly found and
used, so this issue only affects the download.pl script.
This patch calls glob() on the target dir parameter, which will expand `~`.
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions