diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-09 21:13:18 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-09 21:13:18 +0000 |
commit | ff661c90cae212e96d8c29d14c5eef1331da4d09 (patch) | |
tree | 6b9b34d21e32fc907b40e1cfcd56c430270eee43 /kiss | |
parent | c70e6a1d425f6ccaa970779f558797f3f28e32ac (diff) | |
download | cpt-ff661c90cae212e96d8c29d14c5eef1331da4d09.tar.gz |
kiss: Fix curl not following redirects.
FossilOrigin-Name: 0a31317df4a6a688e8971f9d58e5ecbb2630a4da5184f5cfcb82c3ccacca0b64
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ pkg_sources() { # Remote source. elif [ -z "${src##*://*}" ]; then - curl "$src" -o "${src##*/}" || { + curl "$src" -Lo "${src##*/}" || { rm -f "${src##*/}" die "$1" "Failed to download $src" } |