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 | da7c28da659d77b03af3932f48c1dc0b68065c1c (patch) | |
tree | add66fcd631eb6c94e5aa4f276cb2a85b41c3dd0 | |
parent | 4523da1480b5f40a6d77adf2af479c8598a5efdf (diff) | |
download | mdso-da7c28da659d77b03af3932f48c1dc0b68065c1c.tar.bz2 mdso-da7c28da659d77b03af3932f48c1dc0b68065c1c.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 |