diff options
author | midipix <writeonce@midipix.org> | 2024-02-03 20:02:52 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-03 20:07:44 +0000 |
commit | ec521c5248300e06e6223f0c59e063c422b5153a (patch) | |
tree | a67417bfa09d53dd86095d204d91e4ca8c8ac896 | |
parent | 6dd82b62d635155b4845595a9762f8060c4c6c65 (diff) | |
download | ntux-ec521c5248300e06e6223f0c59e063c422b5153a.tar.bz2 ntux-ec521c5248300e06e6223f0c59e063c422b5153a.tar.xz |
build system: usage(): handle lack of a of project-specific cfgdefs.usage.
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -33,7 +33,12 @@ usage() " ___________________________________________" \ "__________________________________" - cat "$mb_project_dir"/project/config/cfgdefs.usage + if [ -f "$mb_project_dir"/project/config/cfgdefs.usage ]; then + cat "$mb_project_dir"/project/config/cfgdefs.usage + else + printf '%s\n\n' \ + "[ info: this project does not provide a project-specific cfgdefs.usage file. ]" + fi fi exit 0 |