summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-05-05 21:49:57 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-05-05 21:57:57 +0100
commit180207d711e7b882f110643178393fff611e46b5 (patch)
tree188eeaed4e50d6974bf151dfc398207bb173acd0
parent18eefdd6f38631e15e56a2bd7a25bba50b05acfa (diff)
downloadvyos-live-build-180207d711e7b882f110643178393fff611e46b5.tar.gz
vyos-live-build-180207d711e7b882f110643178393fff611e46b5.zip
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
-rwxr-xr-xscripts/build/config9
1 files changed, 0 insertions, 9 deletions
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