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 | 1d0ab990c2ff813670504428d85273fe530040cd (patch) | |
tree | 3a564715c1938c59ed987cdadf47cca1683486dd | |
parent | 39866cc700fab81e75dbdc13701b56beac714872 (diff) | |
download | slibtool-1d0ab990c2ff813670504428d85273fe530040cd.tar.bz2 slibtool-1d0ab990c2ff813670504428d85273fe530040cd.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 |