summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorRaphaël Hertzog <raphael@offensive-security.com>2020-04-23 22:17:23 +0200
committerRaphaël Hertzog <raphael@offensive-security.com>2020-04-24 15:37:13 +0200
commit104fa2039990f17e02dd9d2dbfc801763987b532 (patch)
treecd9dee68001aaa2d40ac5eb3f057e959ec478b90 /scripts/build
parent58e0efedc965e1ace6ef65205d831405650cdddb (diff)
downloadvyos-live-build-104fa2039990f17e02dd9d2dbfc801763987b532.tar.gz
vyos-live-build-104fa2039990f17e02dd9d2dbfc801763987b532.zip
Revert "frontend: properly handle option processing"
This reverts commit 6b7c8ed4bf15175299729355f04d60dcbac1aded as it's breaking multi-value space-separated parameters.
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index a4de43887..a0286505a 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -179,7 +179,7 @@ Local_arguments ()
ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name="${PROGRAM}" --options a:d:m:k:b:s:c:huv --shell sh -- "${@}")" || ERR=$?
if [ $ERR -eq 1 ]; then
- Echo_error "Invalid argument(s)"
+ Echo_error "invalid arguments"
exit 1
elif [ $ERR -ne 0 ]; then
Echo_error "getopt failure"