diff options
author | midipix <writeonce@midipix.org> | 2024-02-03 20:02:52 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-03 20:07:45 +0000 |
commit | 82183ed374c90142bb28de36c119210ee50d53ca (patch) | |
tree | 3c94bdd4d0f8d5fa18461f00fb60659f73e57862 /configure | |
parent | 44a97b844908a456c942ac2e4031419ce9f4607b (diff) | |
download | sbmake-82183ed374c90142bb28de36c119210ee50d53ca.tar.bz2 sbmake-82183ed374c90142bb28de36c119210ee50d53ca.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 |