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 | 79c89ee7d111bb2a665b0c313bff3c7e52c879be (patch) | |
tree | 1bbb541af6e935c1ca4c74f2e211ba84fbf1e253 | |
parent | 07d097eb45f2f4366dc72be9c835887d661a42f0 (diff) | |
download | sltdl-79c89ee7d111bb2a665b0c313bff3c7e52c879be.tar.bz2 sltdl-79c89ee7d111bb2a665b0c313bff3c7e52c879be.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 |