aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-09 21:13:18 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-09 21:13:18 +0000
commitff661c90cae212e96d8c29d14c5eef1331da4d09 (patch)
tree6b9b34d21e32fc907b40e1cfcd56c430270eee43 /kiss
parentc70e6a1d425f6ccaa970779f558797f3f28e32ac (diff)
downloadcpt-ff661c90cae212e96d8c29d14c5eef1331da4d09.tar.gz
kiss: Fix curl not following redirects.
FossilOrigin-Name: 0a31317df4a6a688e8971f9d58e5ecbb2630a4da5184f5cfcb82c3ccacca0b64
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 7272334..44ba2e8 100755
--- a/kiss
+++ b/kiss
@@ -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"
}