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 | 123750f9d970c0980b66a19ff08f40546b6e6a0f (patch) | |
tree | 172de05e87d78a348b1109f7ef9eaf57f37ee7f3 | |
parent | e10b1e00bc35c4c44f93fc679ca3c9bea4d7e850 (diff) | |
download | ntapi-123750f9d970c0980b66a19ff08f40546b6e6a0f.tar.bz2 ntapi-123750f9d970c0980b66a19ff08f40546b6e6a0f.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 |