diff options
author | Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> | 2017-08-26 15:14:20 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-12-13 16:29:22 +0100 |
commit | b69ea02a00758a2bcd3981cfb48cc629ff15cfe3 (patch) | |
tree | fedba19020b4a4b48440c4e845c7a9b61e9f6a09 /target/linux/ar71xx/base-files | |
parent | 80a22eee4b4feed82af88a8f8813eefdf5a03c1a (diff) | |
download | upstream-b69ea02a00758a2bcd3981cfb48cc629ff15cfe3.tar.gz upstream-b69ea02a00758a2bcd3981cfb48cc629ff15cfe3.tar.bz2 upstream-b69ea02a00758a2bcd3981cfb48cc629ff15cfe3.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>
(cherry picked from commit 0a761fe8ef346c6f0a78097938b083e2d078b0e2)
Diffstat (limited to 'target/linux/ar71xx/base-files')
0 files changed, 0 insertions, 0 deletions