summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-05-25 12:44:25 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-25 22:54:04 +0100
commitff90647958fd909797950ad2d86f3f85b1867560 (patch)
tree8e6aff9741b54273360f3ff340b785c4a67db76e
parent2ab8d474c6709b07eaad0a58ed9625f3dbf613a6 (diff)
downloadserenity-ff90647958fd909797950ad2d86f3f85b1867560.zip
Ports: Fix a typo in `get_new_config_guess`
While we're at it, we might as well replace the download arguments in `get_new_config_{sub,guess}` with the variable we defined earlier.
-rwxr-xr-xPorts/.port_include.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh
index a3b9ccc0b2..9cf4dcaed3 100755
--- a/Ports/.port_include.sh
+++ b/Ports/.port_include.sh
@@ -125,7 +125,7 @@ get_new_config_sub() {
exit 1
fi
if ! run grep -q serenity "$config_sub"; then
- run do_download_file "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub" "${1:-config.sub}" false
+ run do_download_file "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub" "${config_sub}" false
fi
}
@@ -136,7 +136,7 @@ get_new_config_guess() {
exit 1
fi
if ! run grep -q SerenityOS "$config_guess"; then
- run do_download_file "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess" "${1:-config_guess}" false
+ run do_download_file "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess" "${config_guess}" false
fi
}