scripts/download.pl: use perl builtins instead of system()
authorMatteo Croce <teknoraver@meta.com>
Sat, 28 Sep 2024 22:41:23 +0000 (00:41 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Oct 2024 19:59:15 +0000 (21:59 +0200)
commit6e40f982082a60b9788cf5e0360142a23180fbfa
tree332dce474883c0d067510e0c8cc10f4ce1dc1aab
parenta6de2d77843f05714c1e888ba247013310bfe47d
scripts/download.pl: use perl builtins instead of system()

Perl natively supports renaming files and create directories.
Do it without calling system().

Signed-off-by: Matteo Croce <teknoraver@meta.com>
Link: https://github.com/openwrt/openwrt/pull/16542
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
scripts/download.pl