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 | 096e29ddfa3dcf4ca8ceba0c9d35ae9863ece40d (patch) | |
tree | e97269747d6709b9288dbb5b4add5d3af3ea9deb /configure | |
parent | 330cb358da12f707769f44a18906a9f7234e6f97 (diff) | |
download | sbpython2-096e29ddfa3dcf4ca8ceba0c9d35ae9863ece40d.tar.bz2 sbpython2-096e29ddfa3dcf4ca8ceba0c9d35ae9863ece40d.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 |