forked from kiss-community/kiss
kiss: remove KISS_DL
This commit is contained in:
parent
d0ee4c457e
commit
88f74d2d21
4
kiss
4
kiss
@ -300,9 +300,7 @@ pkg_source() {
|
|||||||
log "$1" "Downloading $src"
|
log "$1" "Downloading $src"
|
||||||
mkdir -p "$PWD/$dest"
|
mkdir -p "$PWD/$dest"
|
||||||
|
|
||||||
# Intentional, globbing disabled.
|
curl -fLo "$_des" "$src" || {
|
||||||
# shellcheck disable=2046,2086
|
|
||||||
${KISS_DL:-curl -fLo} "$_des" "$src" || {
|
|
||||||
rm -f "$_des"
|
rm -f "$_des"
|
||||||
die "$1" "Failed to download $src"
|
die "$1" "Failed to download $src"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user