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 | 4992ce923b2a3c6f8bcbbf55cbee6a6010470fe5 (patch) | |
tree | 6faa4d989a4f2a1320d485a22c8cbcc008ff87b5 /configure | |
parent | 2280017374a2e7c5de89869e0e900c21b53a2d94 (diff) | |
download | ptycon-4992ce923b2a3c6f8bcbbf55cbee6a6010470fe5.tar.bz2 ptycon-4992ce923b2a3c6f8bcbbf55cbee6a6010470fe5.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 |