From 180207d711e7b882f110643178393fff611e46b5 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Tue, 5 May 2020 21:49:57 +0100 Subject: Revert "config: catch and report unexpected arguments" This reverts commit 665372c19d7f54b5cfb92aaf313b7df9570f6191. the kali test failed due to their script using a hack of passing along a custom option after an early terminator through to their auto/config file. the change implemented here was valuable, but i'll have to look into revising things to work with what Kali is doing. Gbp-Dch: Ignore --- scripts/build/config | 9 --------- 1 file changed, 9 deletions(-) (limited to 'scripts') diff --git a/scripts/build/config b/scripts/build/config index da8f3ce2f..2bd929bc1 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -822,15 +822,6 @@ Local_arguments () ;; esac done - - # Any remaining arguments should be reported as an unexpected arguments error. - if [ $# -ne 0 ]; then - local ARG - for ARG in "${@}"; do - Echo_error "Unexpected argument found: %s" "${ARG}" - done - exit 1 - fi } # Processing args such that we have a value for --config if given -- cgit v1.2.3