Skip to content

Commit

Permalink
follow redirects when downloading via curl
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Aug 14, 2023
1 parent fc18a5d commit 1e41556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/clojure/install/linux-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ "$prefix_param" = "-p" || "$prefix_param" = "--prefix" ]]; then
fi

echo "Downloading and expanding tar"
curl -O https://github.com/clojure/brew-install/releases/download/${project.version}/clojure-tools-${project.version}.tar.gz
curl -L -O https://github.com/clojure/brew-install/releases/download/${project.version}/clojure-tools-${project.version}.tar.gz
tar xzf clojure-tools-${project.version}.tar.gz

lib_dir="$prefix_dir/lib"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/clojure/install/posix-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ "$prefix_param" = "-p" -o "$prefix_param" = "--prefix" ]; then
fi

echo "Downloading and expanding tar"
curl -O https://github.com/clojure/brew-install/releases/download/${project.version}/clojure-tools-${project.version}.tar.gz
curl -L -O https://github.com/clojure/brew-install/releases/download/${project.version}/clojure-tools-${project.version}.tar.gz
tar xzf clojure-tools-${project.version}.tar.gz

lib_dir="$prefix_dir/lib"
Expand Down

0 comments on commit 1e41556

Please sign in to comment.