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 | 4f855f4f8887576b27f9797c3decb2a1d4b90126 (patch) | |
tree | d594724a25fde037f4b0466c48f88a8732cec029 | |
parent | fe46ce16ac990ddba67e6b76cadb32c2768ef0a4 (diff) | |
download | bcparser-4f855f4f8887576b27f9797c3decb2a1d4b90126.tar.bz2 bcparser-4f855f4f8887576b27f9797c3decb2a1d4b90126.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 |