Replace ‘-L’ with ‘--location’
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.
This commit is contained in:
parent
ae4693a155
commit
e882f79e73
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue