From ff90647958fd909797950ad2d86f3f85b1867560 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 25 May 2022 12:44:25 +0200 Subject: [PATCH] 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. --- Ports/.port_include.sh | 4 ++-- 1 file 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 }