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 | 0ddb228b85d89a32e333848d108c4f6fc85f1f34 (patch) | |
tree | 7a5f805a0004c11227475c2267ce91a206fcf898 | |
parent | 551fd46ba08fbc4c4e823ba483ecd8ea6ec74177 (diff) | |
download | mmglue-0ddb228b85d89a32e333848d108c4f6fc85f1f34.tar.bz2 mmglue-0ddb228b85d89a32e333848d108c4f6fc85f1f34.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 |