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 | 7dec8ca0af32eae08ad6d2fa3b93731e5f9260de (patch) | |
tree | 24b8459a55abd2d623458ca4d0a02c30c4c5d35c | |
parent | c0c2b4ef057ab6ee12b4e6d6e7b53d10efd6cdb0 (diff) | |
download | bautomake-7dec8ca0af32eae08ad6d2fa3b93731e5f9260de.tar.bz2 bautomake-7dec8ca0af32eae08ad6d2fa3b93731e5f9260de.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 |