diff options
| author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 14:49:45 +0100 |
|---|---|---|
| committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 14:49:45 +0100 |
| commit | 2d7ff4934d721f38ac5274c866e44e20d3bda2e8 (patch) | |
| tree | ceff49ad2a9dc8496207102412a0195aae867f3b /scripts/build/config | |
| parent | b20979334cc28c345b2b72da30c3591fb5c85882 (diff) | |
| download | vyos-live-build-2d7ff4934d721f38ac5274c866e44e20d3bda2e8.tar.gz vyos-live-build-2d7ff4934d721f38ac5274c866e44e20d3bda2e8.zip | |
improve stagefiles encapsulation
- added and used Stagefiles_dir()
- added and used Stagefile_exists()
pretty self explanatory.
Gbp-Dch: Short
Diffstat (limited to 'scripts/build/config')
| -rwxr-xr-x | scripts/build/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config index dc79d08f9..3a79c9f88 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -871,7 +871,7 @@ fi # Ignoring --config if CWD already has a config # Only print warning from direct execution, not when run from auto script redirection, to avoid repetition -if [ -e .build/config ] && [ -n "${_CONFIG}" ] +if Stagefile_exists && [ -n "${_CONFIG}" ] then if [ "${1}" != "noauto" ] then |
