From e882f79e73088a00555a4048b810c0095654051e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 18 Jun 2022 21:01:20 -0700 Subject: [PATCH] =?UTF-8?q?Replace=20=E2=80=98-L=E2=80=99=20with=20?= =?UTF-8?q?=E2=80=98--location=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This produces no difference functionally since ‘--location’ and ‘-L’ are aliases, but generally I prefer using long argument names in scripts because they make it clearer what is going on. --- update-mirrors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-mirrors b/update-mirrors index 4035fea..0cfd046 100755 --- a/update-mirrors +++ b/update-mirrors @@ -65,7 +65,7 @@ sudo." | fold >&2 fi # Download, ready, output -mirrorlist=$(curl --no-progress-meter -L "$(make-url)") +mirrorlist=$(curl --no-progress-meter --location "$(make-url)") if [[ $? -eq 0 ]]; then echo "$mirrorlist" | sed 's/^#\([^#].*\)/\1/' > "$dest"