Skip to content

Commit 1e9a214

Browse files
authored
Use https to download quicklisp's archive
By default quicklisp uses http, this changes the url to https. No change happens if in future the url becomes https by default.
1 parent ecf160a commit 1e9a214

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎install.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ meta=$( curl -s https://beta.quicklisp.org/client/quicklisp.sexp | \
2121
awk '/:client-tar/,/)/' | tr '\n' ' ' | tr -s ' ' )
2222

2323
url=$( perl -nle 'print $& if m{(?<=:url ")[^"]*}g' <<< "$meta" )
24+
[[ "$url" =~ ^http:// ]] && url="https${url#http}"
2425
sha256=$( perl -nle 'print $& if m{(?<=:sha256 ")[^"]*}g' <<< "$meta" )
2526

2627
echo "Downloading quicklisp client..."

0 commit comments

Comments
 (0)