diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 03:54:58 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 03:54:58 (EDT) |
commit | 8173bcbcc3a05333979b0da0a765b4dedde7448e (patch) | |
tree | 09eda12b33c4b81b202a21f1a869cd2f47b67314 /src/ob-installdocs.sh | |
parent | e59f223d3376b94a31131d1c5b72ea37fda47a00 (diff) |
Don't let libopkbuild errors cause exit with -e
Diffstat (limited to 'src/ob-installdocs.sh')
-rw-r--r-- | src/ob-installdocs.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh index f48f97d..9516636 100644 --- a/src/ob-installdocs.sh +++ b/src/ob-installdocs.sh @@ -51,8 +51,7 @@ main() ob_init_package '..' || exit 1 ob_parse_package_metadata -c '.opkbuild.cache' || exit 1 - doc_pkg="$(ob_get_doc_package)" - if [ ${?} -ne 0 ]; then + if ! doc_pkg="$(ob_get_doc_package)"; then ob_error "$(ob_get_msg 'cant_get_doc_pkg')" fi doc_pkg_doc_dir="$(ob_get_system_path 'package-docs' \ |