diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-02-22 02:46:28 +0000 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-03-10 12:39:37 +0000 |
commit | b4598b234c90b6d1c93bd64166d4aa46ce9388bb (patch) | |
tree | 875a6cd156bb7b688b8be538dbe7345b625a7673 /scripts/build/config | |
parent | dff08fa3f7b05be9b86e03dd8a1473b7ff41340f (diff) | |
download | vyos-live-build-b4598b234c90b6d1c93bd64166d4aa46ce9388bb.tar.gz vyos-live-build-b4598b234c90b6d1c93bd64166d4aa46ce9388bb.zip |
tidy script init (4/4) - top level cmd "auto redirect" handling
Partial fix for #952919
Gbp-Dch: Short
Closes: #952919
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-x | scripts/build/config | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/scripts/build/config b/scripts/build/config index c3905b656..fac822f28 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -883,16 +883,10 @@ then fi # Redirecting to auto script if required -if [ "${1}" != "noauto" ] && [ -x auto/config ] -then - Echo_message "Executing auto/config script." - ./auto/config "${@}" - exit ${?} -fi - -if [ "${1}" = "noauto" ] -then +if [ "${1}" = "noauto" ]; then shift +else + Maybe_auto_redirect config fi # Reading system configuration |