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 | 223ca6d9099488fa0b00120e9c608121df4af976 (patch) | |
tree | 98364dc15626d1d3c7a54b00477d80a5afafe269 /configure | |
parent | 38560b660572748e1c115fa1342a5a3a7e75d047 (diff) | |
download | bfirm-223ca6d9099488fa0b00120e9c608121df4af976.tar.bz2 bfirm-223ca6d9099488fa0b00120e9c608121df4af976.tar.xz |
build system: usage(): handle lack of a of project-specific cfgdefs.usage.
Diffstat (limited to 'configure')
-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 |