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 | 7f9304ee0f1ac5c2aa48109603a6dd5e90348216 (patch) | |
tree | b22da8fb2c0e43432097ca3f50999b8f097e0981 | |
parent | cc107b4546df92a8e9a31de284bd9f26f8584de8 (diff) | |
download | pemagine-7f9304ee0f1ac5c2aa48109603a6dd5e90348216.tar.bz2 pemagine-7f9304ee0f1ac5c2aa48109603a6dd5e90348216.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 |